I have a page with a div
in it.
The div
contains an image, is 700px wide and 300px tall. It is set to position: relative
.
To show some text to the bottom of the DIV, I put a span
into it and give it position: absolute; bottom: 8px
This works fine in all browsers, except IE6. IE6 puts the text to the very bottom of the page.
It is as if the parent element with its position: relative
doesn' t even exist.
Is this known IE6 behaviour, or am I overlooking something?
I just checked, the HTML code passes W3C validation.