By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,692 Members | 1,540 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,692 IT Pros & Developers. It's quick & easy.

Paragraph lower down in Opera, Chrome, etc. but is higher up in IE.

Expert 5K+
P: 6,050
Now, I know I'm going to be grilled for saying this, but the text is actually displaying how I want it to in IE. The paragraph has no margins/paddings and displays in the very corner of the div, which is where I want it.

Take a look here.

I've taken all margins and paddings away from surrounding divs and elements. I can't understand why it still seems to have a padding/margin.

CSS here.

Oct 8 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 397
Box model issue CSS2.1 specs: collapsing margins

Expand|Select|Wrap|Line Numbers
  1. div#header {padding-top:1px;}
Internet Explorer gets it wrong.

Thou shalt not even think of asking an HTML or CSS question without validating first.<wink>
Oct 8 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.