Forum Moderators: open
but the left/right scrollbars appear as well in some cases, even though there is nothing there. i made the <div> that the text sits in only 360px wide and the iframe is 760 wide
when the up/down scroll bars appear do the L/R ones appear automatically aswell?
is there anyway to kill this (ie yes for up and down but no for L/R), it looks really bad!
maybe by coloring the L/R scrollbar differently from the up down ones i can camouflage it?
thx
s
a) in iframe tag, set scrolling=yes
b) in document within iframe, set it to render in quirksmode.
c) in document within iframe, set body's overflow-x: hidden and overflow-y: scroll. this is not valid css so wrap this in IE conditionals.
i have personally found that workaround a works best, though it gives the scrollbar place holders in a few other browsers.
sorry, don't have a link handy... you might have to google for quirksmode stuff, try keywords DTD and quirksmode
[edited by: imaputz at 12:34 am (utc) on May 26, 2004]
BODY {
SCROLLBAR-FACE-COLOR: COLOR;
SCROLLBAR-HIGHLIGHT-COLOR: COLOR;
SCROLLBAR-SHADOW-COLOR: COLOR;
SCROLLBAR-ARROW-COLOR: COLOR;
SCROLLBAR-TRACK-COLOR: COLOR;
SCROLLBAR-DARKSHADOW-COLOR: COLOR;
SCROLLBAR-BASE-COLOR: COLOR;
}
<snip>
[edited by: korkus2000 at 5:21 pm (utc) on May 28, 2004]
[edit reason] No code reviews please [/edit]