The Voidspace Techie Blog

my_min_width{
width:expression(document.body.clientWidth < 400? "400px": "auto" );
min-width: 400px
}


Cheers.


Gravatar It's not quite as simple as that.

I want a sidebar of *fixed* width.

Plus a main section of the rest of the window so long as it's not less than about 600px (or something like that).

If I use 'DIV's and CSS then I can specify a minimum width for components - but if the window size gets below a certain amount, then it pushes the sidebar down below the main section.

I have tried several things - but suing a table 'just works' (tm).


Name:

Email:

URL:

Comment:  ? 

 

Commenting by HaloScan