IE6, CSS & height in %

M

Muffinman

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>
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top