Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
css position relative VividDreamer msg:3858915 6:06 am on Feb 27, 2009 (gmt 0) I am using css position relative because I am floating my boxes but for some reason my marquee doesn't work right unless the position is set to absolute. And when I use the absolute the marquee messes up.
tonynoriega msg:3859330 6:06 pm on Feb 27, 2009 (gmt 0)
we are going to need more than that to help you... CSS snippets and HTML snippets help.... bluesmandeluxe msg:3859481 9:13 pm on Feb 27, 2009 (gmt 0)
floats and position:absolute have no business being within miles of each other.
You should avoid position:absolute unless you know exactly what you are doing (and those who know what they are doing avoid using position:absolute altogether).
position:absolute gets its top/right/bottom/left positioning "relative" to the browser window. It ignores all html around it and actually takes itself out of the two dimensions of a flat html file.
position:relative simply allows you to designate a parent box that lets you force position:absolute element(s) relative to it (rather than the browser window).
No one uses position:absolute these day because it is uncontrollable, a cross-browser nightmare and not scalable/liquid/elastic/wrappable.
Floats are the proper way to create your wireframe CSS layout.