in comp.infosystems.
www.authoring.stylesheets, Benjamin Niemann wrote:
Dear div, please try to be 300px wide. If for some reason there's a
table inside of you that's 400 px wide, go ahead and expand to envelop
it,
How do I do that in a CSS class definition, that will work across major
browsers?
I'm about to give up and go back to tables why do I bother.
Would 'min-width' work the way you need it?
Propably
yourSelector { min-width: XXX }
* html yourSelector { width: XXX }
could work for you.
Setting display:table works as well, but bit differently: if the content
is table without width, it will be tried to put inside 300px, and only
streches it if that fails. IANM, that matches IE bug.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Kohtuuhintainen yksiö/huone haussa Oulusta syyskuusta eteenpäin.
Searching places to sleep on axis Bonn - Tsech - Poland - baltic sea in
july