I have an application that needs a minimum width for a left panel.
Currently, I am just using a percentage of the browser width as the value.

Is there any way I can say:

Width of right pane should be 20%
BUT
If width is below 120, make width 120?

I know I could just make it 120, (these values are approximate) but actually
that's not entirely helpful, because if the browser is big, then I don't
want it to become impossible to see the left hand pane.

Any ideas?  I suppose I could get the browser width and take my own 20%
usign JS, but is that sensible and is it a cross-browser solution?

Paul
-----------------------------------
Paul Johnston
PJ Net Solutions Ltd
http://www.pjnetsolutions.com
[EMAIL PROTECTED]
+44 (0)7866 573013



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to