| 
 Posted by Neredbojias on 07/24/05 13:22 
With neither quill nor qualm, Robert Frost-Bridges quothed: 
 
> ppcguy wrote: 
>  
> > is there a way i can set the width of a table to 
> > the min of a pre-defined pixel width or the page width. 
> [...] 
>  
> http://www.w3.org/TR/REC-CSS2/visudet.html#propdef-min-width 
 
Ahem.  No, he needs to use max-width. <smug grin> 
 
table { 
width:100%; 
max-width:800px; 
} 
 
Of course this won't work in the redoubtable IE so a js routine will be  
required for that. 
 
--  
Neredbojias 
Contrary to popular belief, it is believable.
 
[Back to original message] 
 |