+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Background Issue

  1. #1
    Chris73's Avatar
    Chris73 is offline x10 Spammer Chris73 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    New York
    Posts
    5,360

    Question Background Issue

    I was testing a background done in CSS. My question is why will the container background show up in IE but not firefox? Is there a way to fix this or what?

    I just find it odd that the main background will work but the container background doesn't.

    Here is the css.
    "#main {
    background-image:url(images/main_bg.gif);
    background-repeat: repeat-y;
    display:block;
    width:768px;
    height:auto;
    }
    #content {
    background-image:url(images/content_bg.gif);
    background-repeat: repeat-y;
    width:768px;
    }"
    Last edited by Chris73; 09-09-2007 at 08:41 AM.

  2. #2
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: Background Issue

    What is the full HTML code you are using?
    Thanks,
    Brandon Long

  3. #3
    Chris73's Avatar
    Chris73 is offline x10 Spammer Chris73 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    New York
    Posts
    5,360

    Re: Background Issue

    Posted the wrong code. I am assuming you meant all of the CSS.




    body {
    background-image:url(images/background.gif);
    color: #000000;
    font-family: Arial, Helvetica, sans-serif, Verdana;
    font-size: 12px;
    margin: 0px;
    padding: 0px;
    }
    * {margin: 0px;padding: 0px;}
    .clear{clear:both;}
    #container {
    margin: 0px auto;
    text-align: left;
    width: 780px;
    }
    a {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif, Verdana;
    font-size: 12px;
    }
    /********************** Header ***************************/
    #header {
    margin: 0px 0px 0px 0px;
    background-image:url(images/header.jpg);
    background-repeat:no-repeat;
    width:768px;
    height:262px;
    }
    #menu {
    position:relative;
    background-image:url(images/menu.jpg);
    background-repeat:no-repeat;
    width:768px;
    height:117px;
    }
    #menu ul{
    position:absolute;
    top:30px;
    left:265px;
    }
    #menu li{
    float:left;
    display:inline;
    padding: 0px 0px 0px 10px;
    }
    #menu a{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bolder;
    text-transform: uppercase;
    color: #d8cd8d;
    text-decoration: none;
    }
    #menu a:hover{
    color:#3e3c27;
    }
    h1,h2,h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bolder;
    text-transform: uppercase;
    color: #171508;
    }
    h1,h2 {
    position:absolute;
    top:94px;
    }
    h1 {
    left:241px;
    }
    h2 {
    right:75px;
    }
    h3 {
    margin: 15px 0px 0px 30px;
    border-bottom: solid 1px #625d3b;
    }
    /********************** Main ***************************/
    #main {
    background-image:url(images/main_bg.gif);
    background-repeat: repeat-y;
    display:block;
    width:768px;
    height:auto;
    }
    #content {
    background-image:url(images/content_bg.gif);
    background-repeat: repeat-y;
    width:768px;
    }
    /********************** Left - Text ***************************/
    #left {
    float:left;
    width:490px;
    }
    #left p{
    padding: 5px 10px 10px 30px;
    }
    #left a:hover{color:#d8cd8d;}

    /********************** Right - Team ***************************/
    #right {
    float:right;
    width:230px;
    }
    .member {
    display:inline;
    float:left;
    margin-left:10px;
    }
    .member a{
    font-size: 12px;
    font-weight: bold;
    color: #f5f1d1;
    text-decoration: none;
    }
    .member img{
    border: none 0px;
    }
    .member span{
    display:block;
    text-align:center;
    padding: 2px 0px 13px 0px;
    text-transform: uppercase;

    }
    .member span a{}
    .member span a:hover{}

    /********************** Footer ***************************/
    #footer {
    background-image:url(images/footer_bg.jpg);
    background-repeat:no-repeat;
    width:768px;
    height:97px;
    text-align:center;
    float:left;
    clear:both;
    }
    #footer ul{

    }
    #footer li{
    display:inline;
    float:none;
    text-align:center;
    padding: 0px 10px 0px 10px;
    border-right: solid 1px #908a68;
    }
    .lastchild{
    border-right: 0px none !important;
    }
    #footer a{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform:uppercase;
    color: #908a68;
    text-decoration: none;
    }
    #footer a:hover{text-decoration: underline;}
    #footer span{
    font-size: 9px;
    font-weight: bold;
    color: #18160e;
    margin:10px;
    display:block;
    }
    Last edited by Chris73; 09-09-2007 at 10:05 AM.

  4. #4
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: Background Issue

    Do you have firebug and webmaster tools installed as extensions to FF? These would probably help you figure out your issue.

    -Corey

  5. #5
    Chris73's Avatar
    Chris73 is offline x10 Spammer Chris73 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    New York
    Posts
    5,360

    Re: Background Issue

    No, but i guess it couldn't hurt to add them. It was brought to my attention that the page looked different via IE than it did in FF. I am trying to figure out how to fix it without requiring everyone who views that page to install additional addons just to view the page correctly.
    Last edited by Chris73; 09-09-2007 at 10:08 AM.

  6. #6
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: Background Issue

    What I do when that happens, make sure there are no errors with at http://validator.w3.org/, it will in most cases fix my errors.
    Thanks,
    Brandon Long

  7. #7
    Chris73's Avatar
    Chris73 is offline x10 Spammer Chris73 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    New York
    Posts
    5,360

    Re: Background Issue

    Yea i make sure that when i am done i use the validator. I would get down to a few errors that i can't fix or know how to.. tried html tidy which just totally removes the <divs> has my page all wacked. LOL


    Ok then thanks for your help, i am sure with some time and patience i will figure it out.

  8. #8
    Brandon's Avatar
    Brandon is offline Former Senior Account Rep Brandon is on a distinguished road
    Join Date
    Jun 2006
    Location
    Tewksbury, MA
    Posts
    9,589

    Re: Background Issue

    What are a few of the errors you can't fix, we might be able to help.
    Thanks,
    Brandon Long

  9. #9
    Chris73's Avatar
    Chris73 is offline x10 Spammer Chris73 is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    New York
    Posts
    5,360

    Re: Background Issue

    They are all attribute errors.

  10. #10
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: Background Issue

    Moving to site management.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Bid For Multiple Background Dynamic SIG
    By iubtalks in forum The Marketplace
    Replies: 32
    Last Post: 08-05-2006, 01:28 PM
  2. My web designe
    By dharmil in forum Graphics & Webdesign
    Replies: 7
    Last Post: 07-20-2006, 09:23 AM
  3. DNS Issue
    By Corey in forum Service Alerts
    Replies: 10
    Last Post: 05-14-2006, 02:04 PM
  4. need background wallpaper
    By IamShipon1988 in forum The Marketplace
    Replies: 6
    Last Post: 10-18-2005, 07:34 PM
  5. Background Help!
    By Akkarin in forum Scripts & 3rd Party Apps
    Replies: 8
    Last Post: 06-03-2005, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers