Safari can't set height of the Table or Div correctly when given in percentage
Safari can't set height of the Table or Div correctly when given in percentage
- Subject: Safari can't set height of the Table or Div correctly when given in percentage
- From: chris <email@hidden>
- Date: Sun, 2 Mar 2008 11:00:47 -0500
Hello,
I meet a problem with Safari 2.x (not with Safari 3.x), when I set a height value in percentage for a Table or a Div, Safari doesn't display it correctly!
Do you know how to resolve this problem?
I found this post from Joe Tan (it's an old one, Nov 2003):
and I've tried this script, I've added it inside my Web page Header:
<script type="text/_javascript_">
function fixSafariLayout() {
if (document.getElementById) {
var layout = document.getElementById('outter');
layout.style.height=layout.offsetHeight
var left = document.getElementById('left');
left.style.height=left.offsetHeight
//alert(layout.offsetHeight);
}
}
if (/* test for safari */) window.>
</script>
but it changes nothing, the problem continues!
Could you help me :)
Thanks a lot,
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden