Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: Negative positioning values
01-23-2007, 12:10 AM #1
Negative positioning values
This is probably a stupid question, but do negative values in CSS positioning work in all browsers? For example, setting the left position of an absolutely positioned element to -20.
01-23-2007, 12:12 AM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,040 Times in 1,013 Posts
Yes. But don't forget the units (px, em, cm, in...).
01-23-2007, 12:15 AM #3
Wow, that was fast...
Thanks, and yeah, I've noticed that forgetting the units makes it not work lol