SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jan 2005
    Location
    belgium
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy background problems in Mozilla

    Helolo
    when you'll open this page (see later) in IE you'll see a background in the center that will stretch. In Mozilla I don't see any background, although all of the other style elements in the div (#container) are followed"
    http://909.909.be/op/opbouw.html
    HTML:file
    <html>
    <head>
    <link rel="stylesheet" href="op.css" type="text/css" />
    </head>
    <body>
    <div id="container">
    <div id="menu">
    <p>menu</p>
    <ul> <li>test</li> <li>test</li>
    </ul>
    </div>
    <div id="log"><p>log</p></div>
    <div id="link"><p>link</p></div>
    </div>
    </body>

    CSS:file
    body {
    background: url(block.gif) repeat;
    text-align: center;
    margin:0;
    padding:0;
    }
    #container {
    width:700px;
    text-align:left;
    background: url(body.gif) repeat;
    margin: 0 auto;
    }
    #menu {
    width:167px;
    float:left;
    background:transparent;
    text-align:left;
    }
    #log {
    width:394px;
    float:left;
    background:transparent;
    text-align:left;
    }
    #link {
    width:139px;
    float:left;
    background:transparent;
    text-align:left;
    }

    does anyone how to solve this . What mistake do I make ?
    How can I force the "body.gif" to appear in Mozilla?

    Thanx,
    Johan

  2. #2
    SitePoint Member
    Join Date
    Jan 2005
    Location
    belgium
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    i already found the solution at this forum

    Paul O'B posted the solution for this problem
    THANX
    http://www.sitepoint.com/forums/showthread.php?t=220185

  3. #3
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,338
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Glad you found it. There's also an example in the FAQ in the float section that may explain it better

    Paul


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •