Glen Lipka schrieb:
> I am having some trouble in FF 1.5.0.7 <http://1.5.0.7> on Win XP.
> It works in IE but not in FF. Am I doing this wrong? Is there a
> workaround?
> Glen
>
> Code Snippet:
>
> <script>
> $(document).ready(function() {
>
> var rightHeight = $("#right").height();
> $("#left").height(rightHeight);
>
> });
>
> </script>
What does height() return? A number? In that case you have to add the
unit when setting the height with that value. IE (in quirksmode only I
think) accepts unitless values in CSS.
$("#left").height(rightHeight + 'px');
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/