How to Make Divs a Certain Height?

Discussion in 'HTML & Website Design' started by airraid81, Apr 22, 2008.

  1. #1
    I am trying to expand my header, so I changed the header height in css, and it works on Internet Explorer and Firefox, but not Safari. On Safari, the ads and such in the header overlap with content. Not a big deal, I guess since Safari is only about 4% of my traffic, but is there any way to change it?
     
    airraid81, Apr 22, 2008 IP
  2. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #2
    I'd have to see the site in question to answer properly.
     
    twistedspikes, Apr 22, 2008 IP
  3. mooseweb

    mooseweb Banned

    Messages:
    1,154
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Doesn't safari run on different standards? Not really too much of a way to fix that is there?
     
    mooseweb, Apr 22, 2008 IP
  4. airraid81

    airraid81 Active Member

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #4
    airraid81, Apr 22, 2008 IP
  5. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey, have you tried the min-height property, i'm not sure if Safari uses it or not, so you could set the div to say min-height: 200px;
     
    wd_2k6, Apr 22, 2008 IP
  6. Digitank

    Digitank Guest

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'd do this using min-height via a css style sheet.
     
    Digitank, Apr 22, 2008 IP
  7. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #7
    No, it follows the same standards that Firefox, Opera and IE (when in standards mode) use.

    Safari supports min-height.

    Start by fixing your 172 HTML validation errors and your 13 CSS validation errors and then go from there.
     
    Dan Schulz, Apr 23, 2008 IP