[jQuery] Setting Height in FF

2006-10-18 Thread Glen Lipka
I am having some trouble in FF 1.5.0.7 on Win XP.It works in IE but not in FF. Am I doing this wrong? Is there a workaround?GlenCode Snippet: script$(document).ready(function() { var rightHeight = $(#right).height(); $(#left).height(rightHeight);}); /script style #left { border: 1px solid

Re: [jQuery] Setting Height in FF

2006-10-18 Thread nezza
Glen, You need to append the px on the end. A call to $(#right).height(); simply returns the integer, to set height, according to the jquery-1.0.2 API, you need the px: script $(document).ready(function() { var rightHeight = $(#right).height(); $(#left).height(rightHeight + px);

Re: [jQuery] Setting Height in FF

2006-10-18 Thread Glen Lipka
Ugh. Thank you!GlenOn 10/18/06, nezza [EMAIL PROTECTED] wrote: Glen,You need to append the px on the end.A call to $(#right).height(); simply returns the integer, to set height,according to the API, you need the px:script $(document).ready(function() { var rightHeight =