Results 1 to 3 of 3

Thread: Border issue with Firefox

  1. #1
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Border issue with Firefox

    Hi all,

    I have an issue with a div where the background is not displaying in Firefox but is fine in IE6 and IE7. I can make it display by adding a border, but as soon as I comment out the border it disappears again.

    The border is on RBC_BOX_YELLOW_BODY

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <HTML>
    <HEAD>
    <style>

    body



    .RBC_BOX_YELLOW_BODY {
    width : 270px;
    border: solid 1px black;
    background-color : #ffcc00;
    }


    .RBC_BOX_YELLOW_BODY_2 {
    float : left ;
    width : 223px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    }


    .RBC_CLEAR {
    clear : both;
    }


    </style>
    </HEAD>
    <BODY>



    <div class="RBC_BOX_YELLOW_BODY">

    <div class="RBC_BOX_YELLOW_BODY_2">
    <ul>
    <li>Item 1</li>
    <li>Item 2</li>
    <li>Item 3</li>
    <li>Item 4</li>
    <li>Item 5</li>
    <li>Item 6</li>
    <li>Item 7</li>
    </ul>
    </div>


    <div class="RBC_CLEAR"></div>
    </div>

    </BODY>
    </HTML>


    ************************

    Any help gratefully received.

    many thanks,

    Martin.

  2. #2
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    I tested it locally in FF3 and it works just fine with the border set to "none". The yellow background shows.
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  3. #3
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Issue only with FF 1.0.7

    Thanks for your reply. However, I can now see that this is only an issue in FF1 (I am using 1.0.7). It is wortking fine in FF2 and above. As I cant reply on my users having the latest version of FF, does anyone know why FF1 handles borders differently to FF2 and above, and how I can get round this?

    Many thanks

    Martin N.

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
  •