Jump to content

CSS not displaying correctly in Firefox.


ShootingBlanks

Recommended Posts

I have a page with a background that is a repeated image.  Then I have a 600-width black "#container" div that is supposed to span the top to the bottom of the page (regardless of how much content expands the "#container").  Within the "#container" div are a few more divs...

 

On IE7 this displays fine (I haven't tested older IEs because I can't), but on Firefox, once you put too much content in the divs within the "#container" div, it stops expanding it downward.  Or else, maybe the background grid stops.  I'm not sure.  Here's the link to the site online to see what I mean, and I'll post my code below:

 

A page with little content that displays properly in both browsers:

http://www.americanidiotsband.com/bio.html

 

A page with lots of content (carriage returns) in the divs: (displays fine in IE7 but not in Firefox)

http://www.americanidiotsband.com/

 

Here is the code used:

html, body {
background: #000;
font-family: Arial, Helvetica, sans-serif;
padding: 0;
color: #FFF;
}

#container {
background: #000;
width: 780px;
margin:auto;
padding: 5px 0 5px 0;
text-align: center;
min-height: 600px;
border-left: 6px solid #330000;
border-right: 6px solid #330000;
}
/* hide from IE Mac\*/
* html #container {
min-height:600px;
}

 

And then in the body of the actual pages, I use:

<body style="background-image: url(images/nav/bkgndGrid.gif); margin: 0; padding: 0;">

 

Thanks for any help that can be offered!!!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.