Re: max-width under IE8

2009-10-24 Thread Mohamed Mansour
You would have to use some CSS tricks to make that work. * html div.someclass { width: expression( document.body.clientWidth 49 ? 50px : auto );} div.someclass { max-width: 50px; } You would have to include them both. The * html will only target IE browsers, while the original one targeting

max-width under IE8

2009-10-23 Thread Bryan
I have a standards mode GWT app, GWT2.0 m2, and the following CSS rule. .mylabel { max-width:50px; overflow:hidden; } This works properly in all browsers except (of course) IE, where the label width is not actually constrained by max-width. This is IE8, btw. Is there any workaround other