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.

FF/Opera not seeing margin-top?

Discussion in 'CSS' started by oslofish, Dec 12, 2005.

  1. #1
    Hi,

    I have a fixed-height footer and need the footerlinks to have a margin-top of 32px to go with the footer background graphic.

    The following code is displaying what I want correctly in IE, but not in FF/Opera which does not seem to read the top-margin at all!?

    -----

    #footer {
    clear: both;
    height: 88px;
    background: #990000 url('https://braidsbybreslin.com/img/footer.gif') no-repeat top left;
    }

    #footerlinks {
    float: right;
    width: 600px;
    margin: 32px 0 0 0;
    text-align: center;
    color: #fff;

    }

    * html #footerlinks { /* IE Hack */
    margin: 50px 0 0 0;
    }
    ----

    Help would be greatly appreciated!

    Thanks -

    Oslofish
     
    oslofish, Dec 12, 2005 IP
  2. the_pm

    the_pm Peon

    Messages:
    332
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just for kicks, trying changing it from margin: 32px 0 0 0; to padding: 32px 0 0 0;, and see what happens...
     
    the_pm, Dec 12, 2005 IP
  3. oslofish

    oslofish Guest

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, but I tried that already, and it did not work...

    The problem is actually not in Firefox at all, just Opera!?
     
    oslofish, Dec 12, 2005 IP