homepage Welcome to WebmasterWorld Guest from 54.227.41.242
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved