Jump to content

div height difference between explorer and firefox


Yanick Belanger

Recommended Posts

I pass 10 hours on this problem. I just can't fix it.

Please help!

You can see the site at: http://www.adnovationdesign.com

There a diffirence in the positioning or the height of this div:

 

#bellow_content {

background:transparent url(../images/bellow_content.gif) no-repeat scroll 0 0;

color:#616161;

height:333px;

padding-top:40px;

width:960px;

margin-top:25px;

}

and

#footer_banner {

color:#ffffff;

background:transparent url(/images/footer.gif) no-repeat scroll 0 0;

width:960px;

height:142px;

margin-top:0px;

padding:10px;

font-size:11px;

}

 

Thanks in advance

Link to comment
Share on other sites

I found the answer to your problem, you have a div tag called top_content in the html with no css. If you add a height of 306px to this tag your page shows correctly in all browsers, except IE6 where you have a double margin bug on your floated left, middle and right _tags, you can fix this with a conditional comment or an !important hack.

 

I think your site looks very professional, however the coding is very strange. The lack of an h1 tag will negatively affect SEO. In the floated boxes you should not use

for spacing these should be unordered lists. The CSS is very difficult to comprehend due to the excessive use of div tags. It can be simplified by styling regular html tags.

 

Happy New Year to you too.

Edited by virtual
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...