Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Altering Scroll Bar Properties within a Table
Old 03-18-2009, 10:56 PM Altering Scroll Bar Properties within a Table
Junior Talker

Posts: 2
Trades: 0
So I have this code:

Code:
<div style="overflow:auto; height:350px; width:380px">content</div>
After searching various tutorials for the past 4 hours or so, I hope to end my digital adventure with an ASCII splashdown from a person on this forum.

I am pretty much trying to alter the properties of a scroll bar to make it blend in with the site, which I know how to do with something like this:

Code:
<STYLE type="text/css">
<!--
BODY
{
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #484848;
scrollbar-3dlight-color: #484848;
scrollbar-darkshadow-color: #484848;
scrollbar-shadow-color: #484848;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: #484848;
}
-->
</STYLE>
But I can't get it to apply to the scroll bar within the table itself. Those are the actual values I am attempting to use.

If that doesn't make any sense I can try to explain it another way or post more of the code I have.

I digress in hopes of help...

Thanks in advance
burnitdown is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-18-2009, 11:32 PM Re: Altering Scroll Bar Properties within a Table
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
To get it to work in IE, you want...
Code:
.scrollbar {
overflow:auto; 
height:350px; 
width:380px;
scrollbar-face-color: #FFFFFF;
scrollbar-highlight-color: #484848;
scrollbar-3dlight-color: #484848;
scrollbar-darkshadow-color: #484848;
scrollbar-shadow-color: #484848;
scrollbar-arrow-color: #FFFFFF;
scrollbar-track-color: #484848;
}
Note: as far as I know, this will not work in FireFox. Neither will any other scrollbar styling technique, because the code is not W3C compliant. So, it won't validate either.

- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }

Last edited by stevej; 03-19-2009 at 10:28 PM..
stevej is offline
Reply With Quote
View Public Profile
 
Old 03-19-2009, 08:32 PM Re: Altering Scroll Bar Properties within a Table
Junior Talker

Posts: 2
Trades: 0
Aww bummer that it isn't W3C compliant

Is there anymore of a legitimate way to do it?

Edit: besides a script

Last edited by burnitdown; 03-19-2009 at 08:41 PM..
burnitdown is offline
Reply With Quote
View Public Profile
 
Old 03-19-2009, 10:28 PM Re: Altering Scroll Bar Properties within a Table
stevej's Avatar
Professional Multitasker

Posts: 996
Location: Not positive
Trades: 0
Without a script? I'm pretty sure there isn't a way. I don't even know if there's a way to do it with a script. You could google it though, it might bring up some results.

http://www.google.com/search?hl=en&q...ox&btnG=Search

- Steve
__________________
if($stevej == "helpful") { $talkupation += $user_power; }
stevej is offline
Reply With Quote
View Public Profile
 
Old 03-20-2009, 07:12 AM Re: Altering Scroll Bar Properties within a Table
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
that it isn't W3C compliant
And?

just use Conditional Comments
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Altering Scroll Bar Properties within a Table
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15573 seconds with 12 queries