homepage Welcome to WebmasterWorld Guest from 54.145.182.50
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
layout slides a little bit to left between 2 different pages
Halim

5+ Year Member



 
Msg#: 3449971 posted 8:57 pm on Sep 13, 2007 (gmt 0)

Hello all,

I have a little annoying problem with CSS

Between these two pages, the layout always slides to left a little bit

Have any of you guys experience this problem?

PS: FYI, this only happens in Safari/WIN, it looks OK on firefox and IE

Thanks for your help

Halim

 

Marshall

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3449971 posted 12:42 pm on Sep 14, 2007 (gmt 0)

Are you talking about the same page, say home page, moving, or two different pages? Remember, the margins and padding of browser windows differ, though off hand I cannot remember but what amounts, so it is best to set html, body {margin: 0; padding: 0;} in your CSS to get a uniform start.

Marshall

Halim

5+ Year Member



 
Msg#: 3449971 posted 8:57 pm on Sep 14, 2007 (gmt 0)

Its ok now, i dont know what i did, but it is fixed

Its two different pages, like for example from the index.html to contact .html

All the layout are the same, just different text

Anyone know what cause this problem?

Thank you

Marshall

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3449971 posted 4:00 am on Sep 15, 2007 (gmt 0)

Could be something as simple as an <h> tag on one page and not another since different browser rendering the padding and margins differently. There is no justice here :)

Marshall

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