Hello btime,
You're very close! Change the style to html instead of body like so:
html{
scrollbar-face-color: #300;
scrollbar-shadow-color: #600;
scrollbar-highlight-color: #600;
scrollbar-3dlight-color: #600;
scrollbar-darkshadow-color: #600;
scrollbar-track-color: #300;
scrollbar-arrow-color: pink;
color: #999900;
}
</style>
My guess is you're using a DTD that is preventing the expected display.
Changing it to html overcomes this problem.
Example here:
http://www.dwmommy.com/ng/iFrame.asp I used
http://www.dwmommy.com/ng/load.htm as the iFrame page. iFrame.asp contains
the same iframe tag you posted. If I change my <style> tag in load.htm to
match yours, the colored scrollbar doesn't appear.
Good Luck,
~Angela
--
Angela C. Buraglia, Founder:
~FAQs, Tutorials & Resources~
http://www.DreamweaverFAQ.com
~My Extensions~
http://www.dwfaq.com/go.asp?ID=AngelaX10
DWfaq Support Newsgroup:
news://support.dwfaq.com/support
Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
http://www.dwkillertips.com
Remove the CAPS in my E-mail to reply off list.
"btime" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
Hi all......
I want to make iframe, but I can't change the color of the scrollbar...is
there something wrong ?
the code of loaded page :
style
body {
scrollbar-face-color: #300;
scrollbar-shadow-color: #600;
scrollbar-highlight-color: #600;
scrollbar-3dlight-color: #600;
scrollbar-darkshadow-color: #600;
scrollbar-track-color: #300;
scrollbar-arrow-color: pink;
color: #999900;
}
/style
the code of main page :
body
IFRAME NAME="main" SRC="load.htm" ALIGN="center" frameborder="no"
scrolling="yes" HEIGHT="300" WIDTH="400" HSPACE="0" VSPACE="0"></IFRAME
/body
many thanks |