position: relative
Posted: Sat Nov 12, 2005 1:25 pm
I have an SPAN which follows immediately after an IMG tag...
Both are inside a TD
What I want to do is display the SPAN over the IMAGE
I've tried using position: relative inside the TD container and setting the SPAN as position: absolute
And in IE...both the SPAN and IMG are placed at X = Y = 0 relative to the TD - the desired result!!!
However in FF (of course) the SPAN is rendered atthe top of the browser window...
WTF???
Anyone know a way I can get both rendering the way I expected it to??? But in FF????
Thanks
Both are inside a TD
What I want to do is display the SPAN over the IMAGE
I've tried using position: relative inside the TD container and setting the SPAN as position: absolute
And in IE...both the SPAN and IMG are placed at X = Y = 0 relative to the TD - the desired result!!!
However in FF (of course) the SPAN is rendered atthe top of the browser window...
WTF???
Anyone know a way I can get both rendering the way I expected it to??? But in FF????
Thanks