As everybody knows how horrible I.E. is at parsing websites, I have a problem. For some reason, when I load up my page in FF3/GC4.1.x.x.x the header near the top left of the page looks exactly how I want it to, with 5px of padding on each side giving a nice gap between each side. But, when I load it up in IE 7/8 it works mostly but the top-padding seems to have dissappeared. I have tried the '_' hack using
But since that doesn't work I think I am doing something wrong. Is there another method to fix that. It may be a small but but it keeps my site from looking exactly the way I want it to.
Last edited by as4s1n; 04-13-2010 at 10:48 PM.
There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
And that was a typo on my post, it is spelled correctly on my CSS page.
Side note: It actually works on IE8 but not IE7. and considering a lot a people still have IE7 it is going to be a problem
Edit1: I found out what was wrong and fixed it. I had an H2 tag and, apparently, IE parses the margin differently so I removed the margin and applied the padding to the H2 tag so it's all fixed now
Off topic: Microsoft really needs to fix all that, I hope they do with IE9
Last edited by as4s1n; 04-14-2010 at 12:03 AM.
There is no such thing as a "stupid question," there are only "stupid people" who don't ask them.
Don't get your hopes up, it's very possible it'll be another version that falls behind the features of every other browser. I don't know why Microsoft feel they have the right to misinterpret the standards so much.