View Full Version : scrollbar help!


Roxx
07-10-2004, 03:17 AM
hey! .. i have a quick question for all of you. On my site i have an iframe and i want to change its colours to match my layout. My problem is dont use css, mainly because i was too lazy to lean it :grouch: and all the tutorials for it call require css. Does anyone know if i can do it without css and if so what is the code for it.

Thanks i am etranlly greatfull.. :bow: .. :lolol:

lefty
07-10-2004, 03:21 AM
Apparently you can also do it with javascript, but css is much easier.

salomeyasobko
07-10-2004, 03:22 AM
i don't believe you can change your scrollbar colors without CSS unless you use javascript.. which would be a lot more work than just using the CSS code.. you don't really have to know or understand CSS to do it, just copy and paste the code.. do you want that javascript code though? ;)

EDIT: eehee Lefty beat me :buckt:

Roxx
07-10-2004, 03:37 AM
Ok thank you..looks like im gonna have to do a little bit of css. hehe.

Snoopster87c
07-10-2004, 03:56 AM
yeah just copy paste lissa's code. Its really simple then just substitute the colours from her colour chart on html help. Ill give u the code i used for my site:

<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color: 000000;
scrollbar-highlight-color: 666666;
scrollbar-3dlight-color: 000000;
scrollbar-darkshadow-color: FFFFFF;
scrollbar-shadow-color: 000000;
scrollbar-arrow-color: FFFFFF;
scrollbar-track-color: ;999999
}
-->
</STYLE>
so just copy paste that to your site and change the colors:)

salomeyasobko
07-10-2004, 03:58 AM
there's a minor error in that.. use this:

<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color: 000000;
scrollbar-highlight-color: 666666;
scrollbar-3dlight-color: 000000;
scrollbar-darkshadow-color: FFFFFF;
scrollbar-shadow-color: 000000;
scrollbar-arrow-color: FFFFFF;
scrollbar-track-color: 999999;
}
-->
</STYLE>

and put that after the <head> tag and before the </head> tag of your coding

Dude128
07-10-2004, 04:05 AM
and the color codes should have a # before them: #999999; instead of just 999999; :)

Snoopster87c
07-10-2004, 04:15 AM
i used that on mine but i dont see the difference between mine and yours salome???

i copy pasted it from my site so i guess when i transfered it over it changed the #s to spaces? but yeah your right dude128

Snoopster87c
07-10-2004, 04:16 AM
i copy pasted it from my site so i guess when i transfered it over it changed the #s to spaces? but yeah your right dude128

salomeyasobko
07-10-2004, 07:02 AM
i used that on mine but i dont see the difference between mine and yours salome???

i copy pasted it from my site so i guess when i transfered it over it changed the #s to spaces? but yeah your right dude128
it's salomeya ;) but that's alright.

on the last one, you had:

scrollbar-track-color: ;999999

and it should've been

scrollbar-track-color: 999999;

and then of course dude128 pointed out that we both forgot the # things :lol:

lefty
07-10-2004, 02:57 PM
I never use # in css codes :confusion

Monkey Bizzle
07-10-2004, 04:50 PM
since we're talking about scrollbars here and CSS and all that great nifty stuff... i tried to validate my CSS yesterday and my scrollcars errored... since everything else was right, i decided to leave it. however, when i put the character set or whatever code in my html my scrollbars don't even show up since they are not valid code or whatever... if you change the scrollbars with javascript, will that be considered valid and are there any other ways to change the scroll bars?