View Full Version : Negative positioning values

Jan 23rd, 2007, 12:10 AM
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.

Jan 23rd, 2007, 12:12 AM
Yes. But don't forget the units (px, em, cm, in...).

Jan 23rd, 2007, 12:15 AM
Wow, that was fast...
Thanks, and yeah, I've noticed that forgetting the units makes it not work lol