471,610 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 software developers and data experts.

Need some help with scrollbar scripting in forum using the IE 7

I have a forum all set up and everything works great. I decide to use IE 7 for the benefit of transparent PNG files. All is well with that but now my scripting for my colored scrollbars doesn't show the scrollbars. When I use IE6 the transparent PNG files don't show transparent but the scripting for the scrollbars work. Could someone please help me?

I use the right CSS for the forum scrollbars example seen below: (this can't be altered by putting <style> before and </style> after as it alters the forum scripting which screws up my forum. Thank you for any help you can offer!

body {
background-attachment: fixed;
scrollbar-base-color: #FFFFCC;
scrollbar-highlight-color: #000000;
scrollbar-arrow-color: #000000;
margin-top: 10px;
margin-bottom: 10px;
margin-left: 5px;
margin-right: 05px;
font-size: 10pt;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif

Aug 15 '07 #1
5 1899
7,435 Expert 4TB
You posted in the Articles section under the "Do Not Post Here" thread.
I decide to use IE 7 for the benefit of transparent PNG files.
Every browser has had support for transparent PNGs for six years now and it's only this year that IE7 finally caught up with everyone else, yet they still implement it poorly, so that statement is kind of funny.

What do you mean "use IE7"?
When I use IE6 the transparent PNG files don't show transparent
Like I said above, all modern browsers support transparent PNG which leaves all versions of IE out of the picture except for IE7.

You should be aware that colored scroll bars is not a standard effect and only available on IE so no one else can see it.
Aug 15 '07 #2
It isn't the PNG transparency that I am having an issue with its the scrollbar colors on my forum. I would assume if others are using IE they can see the colored scrollbar? I could see it when I was using IE6 for a browser but not with Internet Explorer 7 as browser so I am not sure you understand what I was asking?
Aug 15 '07 #3
7,435 Expert 4TB
I did not hear if IE7 no longer uses colored scroll bars or not. It's too late for me to turn on my Windows box (I don't use Windows) cause I'm going to bed but I'll look into it in the morning, unless someone else does first.
Aug 15 '07 #4
Thank you I figured it out with IE 7 when doing the scrollbar scripting in CSS one needs to do it as such:

html }

then your scrollbar information


Just in case anyone else has the same issues. :)
Aug 16 '07 #5
7,435 Expert 4TB
The brackets are wrong. Should be { and then }.
Aug 16 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Tom | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.