SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Why is this not working in Mozilla???!!!

    Hi!

    I have the following code:
    Code:
    <html>
    <head>
    <title>funkN</title>
    <link rel = "stylesheet" href = "style.css">
    <meta http-equiv = "Content-Type" content = "text/html; charset = iso-8859-1">
    </head>
    <body leftmargin = "0" topmargin = "0" marginwidth = "0" marginheight = "0" background = "images/watermark.gif">
    <div style = "width: 100%; background-image: url(images/navbot.gif); background-repeat: repeat-x;">
    </div>
    <div style = "float: left;">
      <img src="images/funknstrip.gif" width="126" height="32" hspace="18" align="absmiddle" alt="FunkN.....Real Estate in CyberSpace">
    </div>
    <div style = "float: right; margin-right: 10;">
    <a href = "#">join here</a> | <a href = "login.htm">my
    	  account</a> | <a href = "terms.htm">terms &amp; conditions</a>
    	  | <a href = "privacypolicy.htm" target = "main">privacy policy</a>
    </div>
    <div style = "clear: left; width: 100%; background-color: #000099; background-image: url(images/navtop.gif); background-repeat: repeat-x;">
    </div>
    <div style = "width: 100%; background-color: #000099;">
    </div>
    <div style = "width: 100%; background-image: url(images/navbot.gif); background-repeat: repeat-x;">
    </div>
    <div style = "dispay: block; margin-top: 10; margin-left: 10;">
    </div>
    </body>
    </html>
    And it's working in IE perfectly but not in Mozilla!!!!! In Mozilla I can only see two upper divs but not others! The build of my Mozilla is 2002101612.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,556
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,If you are talking abouth the background images not showing then it's because you have not given them any height in which to display.If there is no content in the div but just a bg image then you will need to supply the height also.Paul

  3. #3
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I just added &nbsp; and it's working properly now in both of browsers!


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
  •