I have a problem thats been bugging me for days now (no pun intended).
Basically I'm using the Wordpress v2.5.1 and I've created my own layout. The problem I'm facing is that IE7 seems to render the front page of my site in such a strange way, like I haven't closed a tag or something. Its only appearing on the homepage though and the single post pages are fine. I thought it could be in the index.php file where the loop is but I can't find any problems there.
I've tried to debug the site in Firebug using Firefox 2.5.
It'll probably be easier to actually view the site and you'll see what I mean.
View the homepage in Firefox first, then view it in IE7, then view a sub page in IE7 and you'll see what I mean.
Any help would be greatly appreciated.
l2yan wrote:... like I
... like I haven't closed a tag or something. ...
If that is the case running the page through the validator will reveal the error.
As Triumph said, that's what
As Triumph said, that's what validators are for. If you aren't using one every ten minutes or so while coding then you are wasting your time.
Ed Seedhouse wrote:If you
If you aren't using one every ten minutes or so while coding then you are wasting your time.
Everyone's different so there's no 'rule' as to how often you should validate. How they spend their time doing something is also their own business.
well, I admit to
well, I admit to exaggerating for effect. But I stick to my opinion that frequent validation will save folks tons of time at least until they get the habit of writing valid code automatically.
The only thing I see
The only thing I see different from Firefox, Safari and IE7 is in IE7 the "Popular Tags" section shifts down because there isn't enough room for it. Am I missing something else?
Sorry guys, I've always
I've always built websites by building it then validating at the end. I'll take your advice and start validating more often though.
Heres a screen shot to see whats happened in IE7.. (attached file)
The H4 font is totally different size, the navbar_info box (grey box at the top with dollar sign in) doesn't span 100% like in Firefox or using IE7 on the subpages. Also the whole page should be in the center of the screen and not floated to the left.
I'll start debugging it all now...
Ah, you wisdom has helped
Ah, you wisdom has helped I've cleaned up the code and it seems to be working find now. I think it was a closing
tag that was missing. I was using Firebug to debug but it didn't seem to pick the problem up though... anyhoo, thanks again :thumbsup: .