/    Sign up×
Community /Pin to ProfileBookmark

CSS alignment solution?

My page at: [url]http://www.descom.org/testing/mission.html[/url] seems to work fine, except in IE6. There, the green header and green main content areas do not line up correctly.

It’s got to be some simple CSS mistake, (the stylesheet can be seen at [url]http://www.descom.org/testing/aprilStyles.css)[/url], but as I work on a Mac and don’t have a pc at my disposal, I have to keep running back and forth between my office and the public library to view the site. This has become, well, a pain.

If you can help, there’s a big “Thank you” in it for you.

Thanks either way.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelApr 18.2006 — In your HTML you have:
[CODE]<!--[if IE 6]>
<link rel="stylesheet" href="ie6.css" type="text/css">
<![endif]-->[/CODE]

Which is this:
[CODE]html {
overflow:hidden;
}
body {
height:100%;
overflow:auto;
}
#footerwrap {
bottom:-1px;
}[/CODE]


Have you tried adding
[CODE][B]border:0; padding:0; margin:0;[/B][/CODE]
to the body, html of the *css (above, the 'for IE6' styles)? I think that is why you're seeing the err. You are telling IE6 to NOT have [B]border:0; padding:0 margin:0[/B] by it's ommission.
×

Success!

Help @descom spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...