Page lines up differently in explorer vs firefox?

They have: 4 posts

Joined: Apr 2008

I have a problem with certain pages on my site which is driving me nuts. Although fine on Firefox, the header section of certain pages doesnt line up correctly with the rest of the page using explorer. Please see http://www.squeezephotos.com/members/showVenueCategory.php for example. The header section is an include, but its fine on the homepage for example?

Could anyone tell me what to look for? The pages that use PHP were written for me so i really wouldnt know where to start. If further info is needed just let me know.

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

If you make the width of the table in the page you linked to 766 instead of 762 my guess is that it will line up. The root of the problem is that IE will only use width as a guideline, if the contents of a box is wider than the width you've set, IE will increase the size of the box.

The table to change is:

<!--Banner -->
<table bgcolor="#f8f8f6" border="0" cellpadding="0" cellspacing="0" width="762">

I couldn't test whether that's definitely the problem though, the page won't save properly.

a Padded Cell our articles site!

They have: 4 posts

Joined: Apr 2008

Thanks a lot, you have no idea how annoying that had become! Wish i'd have come here earlier..

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

No worries. Welcome to the forums! Smiling

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.