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
  • 55,537
  • 12
  • 95
  • 123
Mateusz Rogulski
  • 7,147
  • 7
  • 43
  • 61

4 Answers4

1

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

why are you mixing tables and divs?

Reinder Wit
  • 6,336
  • 1
  • 25
  • 33
1

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

Community
  • 1
  • 1
Mateusz Rogulski
  • 7,147
  • 7
  • 43
  • 61
0

this could help:

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

Roman
  • 494
  • 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
  • 43,353
  • 79
  • 196
  • 295