Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: not2easy
I think overflow-x and overflow-y are proprietary to IE.
Just did a quick test and this seems OK in IE6 and Mozilla/5.0. This will only display a scrollbar horizontally if your content overflows. I know you don't want horizontal scroll at all, but I think this is your best compromise. You won't see it if the content doesn't overflow.
which really sucks.
eg: newscont is 450px wide, a div inside is a max 300 including padding of 20px and margin of 10px, yet the scroll still shows horizontally.
Ive resigned myself to the fact that it cant be done.