1

I have a situation which is similar to this fiddle. In Firefox absolute positioning doesn't work correctly.

How can I fix it?

Wladimir Palant
  • 56,865
  • 12
  • 98
  • 126
Mateusz Rogulski
  • 7,357
  • 7
  • 44
  • 62

4 Answers4

1

add position:relative to table too: http://jsfiddle.net/axEGM/4/

why are you mixing tables and divs?

Reinder Wit
  • 6,490
  • 1
  • 25
  • 36
1

Based on the post. Better way is make it by add additional div like on this fiddle.

Community
  • 1
  • 1
Mateusz Rogulski
  • 7,357
  • 7
  • 44
  • 62
0

this could help:

#col { position: relative; display:block; }

Roman
  • 504
  • 4
  • 10
0

I did this and it worked

div {

    position: absolute;
    width: 200px;
    background: green;
    top: 0px;
    left: 0px;
    margin-top: 100px;
}
Sachin Kainth
  • 45,256
  • 81
  • 201
  • 304