View Full Version : Negative positioning values
thesmart1
01-22-2007, 11:10 PM
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.
VIPStephan
01-22-2007, 11:12 PM
Yes. But don't forget the units (px, em, cm, in...).
thesmart1
01-22-2007, 11:15 PM
Wow, that was fast...
Thanks, and yeah, I've noticed that forgetting the units makes it not work lol
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.