Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: not2easy
Failing that, is there a way I could specify overflow: hidden ONLY for IE6?
If you are limiting the size in px (a fixed dimension) for instance, then according to the W3C spec you should be able to use overflow:visible to do what you require. This should limit the size of the container to what you have defined in your CSS, but allow the contents to spill out (visible). HOWEVER, this does not work in IE6 (ok, in IE7 Strict and all other browsers).
To specify overflow:hidden for IE6 only then consider using conditional comments [webmasterworld.com] to include an 'IE6 Only' stylesheet. Such as:
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6only.css">
overflow:visible, IE6 will expand the container to make the contents fit. So yes, it is visible, but the container is not restricted as it should be - the contents no longer overflows; it is contained!