473,378 Members | 1,564 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 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 1942
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

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

Similar topics

by: Colin McGuire | last post by:
I apologize for posting yet another scrollbar question. Here is my code. All I want is for a diagonal line to appear from coordinates (0,0) to (width,height) in a usercontrol regardless of whether...
by: phillip.s.powell | last post by:
<style> div div table tr td a.navbar, div div table tr td font {display: none;} </style> <div class="navigationbar" style="background-color:Black; position: absolute; left:50%; top:127px;...
by: ranabhavin2 | last post by:
Hi , I have made chat application in asp.net using atlas. It is database chat. So, every 1 minutes page is going to refresh and fetch data from database. All the data of chatting I m...
by: sunbeam | last post by:
Short Description of the Project: we developed a e-learning system for our students. each student has a unique username/password to view the modules he/she should view and nothing more. since we...
by: WebMissy | last post by:
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...
by: Jenny | last post by:
Dear all, I have one select which lists one visible element. I want this select can show scrollbar after I click its down arrow, so that i can use the scrollbar to select the element i want. ...
by: Inny | last post by:
The following 3 pages which are popups on my site are not rendering in mozilla firefox. Source is visible instead. Any idea why? ...
by: Tom | last post by:
My user defined vertical scroll bar does not respond properly. :( public VScrollBar vs; .... vs = new VScrollBar(); vs.Parent = this; vs.Dock = DockStyle.Right; I intercept the scrollbar...
by: Tom | last post by:
First, I posted a similar request for help in another group and now don't find the posting. Problem with my newsreader perhaps ... but apologies if this appears as a cross posting. My code is...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.