bpetruzzo
Member
Posted 3 years ago #
It might just be that I've been looking at this theme I built for hours now, but I can't seem to find anything in my CSS or template files that would cause this problem.
Basically, in Internet Explorer the sidebars sit way down at the bottom of the page for no reason that I can figure. Here's the working template:
http://www.petruzzo.com/staging/wp/
Any advice would be appreciated. Also, this is only the second theme I've ever built from scratch, so if you happen to see any obvious errors, I'd really appreciate that too!
Adjust the sidebar and/or main content margins to have more room. Internet Exploder (sometimes mistakenly called Internet Explorer) adds its own additional pixels to the margin settings, so if you specify 10px IE is gonna add to it automatically against your will.
Thanks Microsoft! Will you ever NOT force junk code on people?
This doesn't happen in IE 8 - but then again I think maybe 9 people on the entire planet use IE 8. Lol.
Were it me I'd write some Javascript code that detects the browser and if it's IE I'd send the user to getfirefox.com ;-)
Your page cannot be validated, ... because on line 249 it contained one or more bytes that I cannot interpret as utf-8
Looking at source, line 249 shows:
<div class="credit">Designed by William Petruzzo. Content � William Petruzzo, 2009.</div>
You have errors in your CSS per validation which could also have caused the drop.
bpetruzzo
Member
Posted 3 years ago #
Ok, I corrected the CSS validation issues and the problem on line 249, I think it's the copyright symbol which I couldn't figure out in the chosen font.
Also, I gave an extra 10px of breathing room between the columns. I think that fixed the problem, but being that I'm using a Macintosh, I can't check it in Internet Explorer.
How's it look in Internet Explorer now?
Looking good in IE even in IE6
bpetruzzo
Member
Posted 3 years ago #
Great! Thanks for the help folks!
bpetruzzo
Member
Posted 3 years ago #
It turned out that I had forgotten to clear one of the floats in the index.php document and it was causing the page to load strangely. When I corrected that problem, the issue with the sidebar came back. The sidebar floats just fine to the right, however only at the bottom of the content.
I've tried reducing the width of the main content as well as the sidebars, but it doesn't seem to do any good. Is there something with the floats that could be causing this problem?