hello,
in IE6 and NS7, when using a DTD (loose or strict), i cannot set the height of a div to a percentage:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "<div style="height:95%;border=1px solid red;">div</div>
or
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<div style="height:95%;border=1px solid red;">div</div>
if i leave the DTD off, it works fine. am i doing something wrong?
=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
in IE6 and NS7, when using a DTD (loose or strict), i cannot set the height of a div to a percentage:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "<div style="height:95%;border=1px solid red;">div</div>
or
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "<div style="height:95%;border=1px solid red;">div</div>
if i leave the DTD off, it works fine. am i doing something wrong?
=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff