IE6, CSS & height in %

Discussion in 'HTML' started by Muffinman, Oct 31, 2005.

  1. Muffinman

    Muffinman Guest

    Howdy,

    A while ago I created a little website which has a little problem. I
    have defined all layers and frames in percentages, so if somebody
    reduces the size of the browser, it still looks fine. This works very
    well in Mozille and alike. However, in Internet Explorer 6 it doesn't.
    Somehow the height attribute in CSS is ignored if it is given in
    percentages. I have written it as below. Is there anyway I can solve
    this without having to define it in pixels..?

    Thanks in advance, Maarten


    #frame_menu {
    position: absolute;
    left: 2%;
    top: 2%;
    width: 22%;
    height: 80%;
    border: none;
    visibility: visible;
    background: #ffffff;
    z-index: 4;
    }

    <iframe onload="javascript:target_data()" src="5004230661"
    id="frame_menu" name="frame_menu" scrolling="auto" marginwidth="0"
    marginheight="0" frameborder="0"></iframe>
     
    Muffinman, Oct 31, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ivor O'Connor
    Replies:
    4
    Views:
    1,261
    Isofarro
    Nov 25, 2003
  2. Danny
    Replies:
    8
    Views:
    14,312
    brucie
    Jul 17, 2004
  3. Jens Lenge

    DIV height - IE6 workaround?

    Jens Lenge, Mar 5, 2005, in forum: HTML
    Replies:
    16
    Views:
    30,317
    kchayka
    Mar 8, 2005
  4. Muffinman

    IE6, XHTML & height in %

    Muffinman, Nov 1, 2005, in forum: HTML
    Replies:
    3
    Views:
    547
    Mitja Trampus
    Nov 1, 2005
  5. Peter Mount
    Replies:
    4
    Views:
    1,186
    Peter Mount
    Jan 31, 2006
  6. Oliver Wong

    IE6 ignoring "height" CSS attribute?

    Oliver Wong, Jun 4, 2007, in forum: HTML
    Replies:
    3
    Views:
    1,211
    Oliver Wong
    Jun 5, 2007
  7. Pugi!
    Replies:
    0
    Views:
    354
    Pugi!
    Feb 5, 2007
  8. timothytoe
    Replies:
    4
    Views:
    319
Loading...