Forum Moderators: open
My problem is that upon changing the content using objects instead of iframes, two ugly scrollbars appear. After changing the width and height using Firefox, the scrollbars disappear, but in Internet Explorer the vertical scrollbar doesn't. It just stays there, but remains unscrollable.
The code used is this:
<object id="radio" type="text/html" data="/radio.blog/index.php" width="220" height="320">Radio.Blog out to lunch.</object> I tried using CSS to deal with it (overflow: hidden;), and either by Id or by tag (object tag), but nothing seems to work. Any ideas as to how to achieve the same attribute as scrolling="no" used in the iframes of yonder?
I had to place the following in the stylesheet of the text/html object:
html {
border:none;
overflow:hidden;
}
body {
margin: 0;
padding: 0;
border:none;
overflow:hidden;
} That does the job for me (either in XHTML 1.1 as application/xhtml+xml or as HTML 4.01 strict as text/html).
But, you're right about IE quirks... they're mostly unavoidable.