CSS div height issue

Discussion in 'CSS' started by wibbler, Sep 12, 2008.

  1. #1
    Hi,

    I have a div at my website that shows different heights depending on the make of browser:

    http://www.q-leadz.com

    The big green section with the phone is the div I'm taking about. It shows correctly in Firefox, but in IE it's almost doubled.

    Can anyone help to resolve this?! It's driving me mad...
     
    wibbler, Sep 12, 2008 IP
  2. HDaddy

    HDaddy Active Member

    Messages:
    287
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Try this in your css in .featimg img class

    .featimg img{
    margin:0;
    float:right;
    padding:0;
    position:relative;
    top:0;
    right:0;
    }

    You can then position the image correctly with the top and right, just find the right pixel amount. Hope this helps.
     
    HDaddy, Sep 14, 2008 IP
  3. mypsdtohtml

    mypsdtohtml Guest

    Messages:
    96
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Use porcentage for your XHTML CSS.
    Like for example:

    height:100%;

    or any porcentage

    Hope it helps!
     
    mypsdtohtml, Sep 15, 2008 IP