2 replies [Last post]
mercyme
mercyme's picture
Offline
newbie
Last seen: 9 years 44 weeks ago
Timezone: GMT-7
Joined: 2012-03-16
Posts: 2
Points: 3

HELLO! :}

i duplicated my index page and added an id to the body tag and now the page shifts down and left?

this is odd. Its the same exact page with a different id in the div.

Please help, watch the shift here -> www.MERCYONME.com

//mod edit: Link fixed. Be sure to include the protocol on link urls, "http://" ~gt

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 46 weeks 4 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Unable to replicate

With or without the id attribute, the shift does not occur on #home. On the #featured page, there is a shift due to this:

#featured {
    height: 33px;
    left: 30px;
    position: absolute;
    top: 18px;
    width: 100px;
}
If you have different rules for different attribute values, you should expect different renderings.

Why in the world would you have the body element positioned absolute?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

mercyme
mercyme's picture
Offline
newbie
Last seen: 9 years 44 weeks ago
Timezone: GMT-7
Joined: 2012-03-16
Posts: 2
Points: 3

Thank you

Thank you very much!! grrr, what an oversight!