PDA

View Full Version : Clear positioning


JAVAEOC
04-24-2004, 01:23 AM
I have a problem:

I have this code:

li{positioning: relative}

but now I need this code:

li ul li{This li elemnt MUST not be positioned relaive anymore, nor may it be absolut, or fixed, or static, it needs to have NO POSITIONING...}

thanks alot...

mindlessLemming
04-24-2004, 05:25 AM
li ul li {position:static;} is what you need to use. This will reset it to default. There is no such thing as "no positioning".

JAVAEOC
04-24-2004, 06:05 PM
but for static, it will stick at the top, even when i scroll.... Ahh maybe u used IE, and static doesnt work (or maybe I am just wrong :D)

me'
04-24-2004, 08:08 PM
position: static is the default, you're getting it confused with fixed.

JAVAEOC
04-24-2004, 08:12 PM
Ok, thanks alot

mindlessLemming
04-25-2004, 04:17 AM
but for static, it will stick at the top, even when i scroll.... Ahh maybe u used IE, and static doesnt work (or maybe I am just wrong :D)

Test before you talk ;)

JAVAEOC
04-25-2004, 02:53 PM
Hhaha, but I am mindless :P