Thanks, but when I tried to insert "onresize" into the <body> tag it told me it was invalid.
Instead of doing this:
<body onresize="SwapStylesheets();">
do this:
<script language="Javascript" src="SwapStylesheets.js"></script> </head> <body>
and in SwapStylesheets.js, a separate file, do something like this:
window.onload = SwapStylesheets; function SwapStylesheets() { if ... }
However, I'm optimistic you'll find a CSS solution that doesn't require javascript, or at least one doesn't impose scripting on browsers that obey max-width. There's always those IE conditional statements that do validate:
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp
Paul
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************