combining z-index and <DIV>s with position:relative?
Posted: Mon Mar 20, 2006 7:04 am
I use
to adjust the position of text which follows radios and checkboxes on forms - yeah, I know kinda anal
All worked well until I coded a centred splash screen with z-index:999. Because of the position:relative in my span the captions appear through my splash screen.
Anyone know how to adjust my radio captions without using position:relative - have tried margins/padding - no effect on spans (i think) or force my splash screen to always stay on top? (even over a position:relative).
Am coding for IE5+
Thanks Seppo
Code: Select all
<span style="position:relative; top:-2px;">caption</span>to adjust the position of text which follows radios and checkboxes on forms - yeah, I know kinda anal
All worked well until I coded a centred splash screen with z-index:999. Because of the position:relative in my span the captions appear through my splash screen.
Anyone know how to adjust my radio captions without using position:relative - have tried margins/padding - no effect on spans (i think) or force my splash screen to always stay on top? (even over a position:relative).
Am coding for IE5+
Thanks Seppo