1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Firefox being stupid? Or is it my code?

Discussion in 'CSS' started by Rey, May 29, 2005.

  1. #1
    Rey, May 29, 2005 IP
  2. mcfox

    mcfox Wind Maker

    Messages:
    7,526
    Likes Received:
    716
    Best Answers:
    0
    Trophy Points:
    360
    #2
    It does the same in Opera, so it must be something in the code.
     
    mcfox, May 29, 2005 IP
  3. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Your coding can certainly be improved. For example, your DOCTYPE says XHML, but the content is not, etc. This particular problem is caused by collapsing margins. The margins of the <hr> element just above the gap collapses with the containing <div>'s margin and you see the background of the underlying <td> element. Change the background color of <td> and this should take care of your problem:

    <td valign="top" style="background-color: #232323;">
    <!-- /logo -->

    <!-- content table -->
    <!-- open content container -->

    <div align="center">
    <div class="page" style="width: 100%; text-align: left;">
    <div style="padding: 0px 25px;">


    J.D.
     
    J.D., May 29, 2005 IP
  4. Rey

    Rey Well-Known Member

    Messages:
    232
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    133
    #4
    WooT... it works perfectly... beautifully... smoothly! Thanks a lot man! You shall get a rep for this ^^
     
    Rey, May 29, 2005 IP