7 replies [Last post]
l2yan
Offline
newbie
UK
Last seen: 12 years 20 weeks ago
UK
Joined: 2007-08-09
Posts: 7
Points: 0

Hi everyone,

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.
http://www.makecashflow.net

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.

Regards,
Ryan

Triumph (not verified)
Anonymous's picture
Guru

l2yan wrote:... like I

l2yan wrote:
... like I haven't closed a tag or something. ...

If that is the case running the page through the validator will reveal the error.

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 44 weeks 7 hours ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

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

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 6 years 1 week ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Ed Seedhouse wrote:If you

Ed Seedhouse wrote:
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.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference

Ed Seedhouse
Ed Seedhouse's picture
Offline
Guru
Victoria British Columbia
Last seen: 44 weeks 7 hours ago
Victoria British Columbia
Timezone: GMT-8
Joined: 2005-12-14
Posts: 3570
Points: 675

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.

Ed Seedhouse

Posting Guidelines

Watch out! I am carrying irony, sarcasm and satire, and know how to use them.

Triumph (not verified)
Anonymous's picture
Guru

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?

l2yan
Offline
newbie
UK
Last seen: 12 years 20 weeks ago
UK
Joined: 2007-08-09
Posts: 7
Points: 0

Sorry guys, I've always

Sorry guys,

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... Smile

Thanks

AttachmentSize
ie-7-mcf.gif 189.39 KB
l2yan
Offline
newbie
UK
Last seen: 12 years 20 weeks ago
UK
Joined: 2007-08-09
Posts: 7
Points: 0

Ah, you wisdom has helped

Ah, you wisdom has helped Smile 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: .

Ryan