changing the scrollbar in a DIV |
![]() ![]() |
changing the scrollbar in a DIV |
Mar 18 2007, 03:21 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Aug 2005 Member No: 203,745 |
errrr...how can you customize the scrollbars to look the same in all your divs?
code for my 1st div. CODE <div class="content" style="position: absolute; left:380px; top:510px; width:180px; height:400px; overflow: auto;"> blah blah blah </div> the rest of my code. CODE <div class="bg" style="position: absolute; left:230px; top:160px; width:800px; height:800px; overflow: hidden;"> <img src="http://img.photobucket.com/albums/v628/_moomoo_/practicelayout2.gif"> </div> <style type="text/css"> body{ background-color: 000000;}</style> <style type="text/css"> table, tr, td {background:000000;} table table table table, table table table table td.text, table.contactTable {display:none;} td.text table, .orangetext15 {visibility:hidden;} td.text table table {display:inline; visibility:visible;} td.text td.text table {display:none;} div b font font, div font font u {display:none;} .whitetext12 { display: none; } .nametext { display:none;} </style> <style type="text/css"> body { b, strong {background-color:; color: ff0000; font-family:Tahoma; font-size:8pt; letter-spacing:0pt; font-weight:bold; } i,em{ background-color:; color: 0099ff; font-family:Tahoma; font-size:8pt; letter-spacing:0pt; font-weight:normal; } u{ background-color:; color: ffcc00; font-family:Tahoma; font-size:8pt; letter-spacing:0pt; font-weight:normal; } </style> i know the code for the scrollbar but I just dont know where to put it. help again! |
|
|
|
| *WHIMSICAL 0NE* |
Mar 18 2007, 03:31 PM
Post
#2
|
|
Guest |
You can use this code:
CODE <style>div {scrollbar-face-color:######; Just change the color. It will change the scrollbars in ALL your divs.
scrollbar-highlight-color:######; scrollbar-3dlight-color:######; scrollbar-shadow-color:######; scrollbar-darkshadow-color:######; scrollbar-arrow-color:######; scrollbar-track-color:######;}</style> |
|
|
|
Mar 18 2007, 03:45 PM
Post
#3
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Aug 2005 Member No: 203,745 |
where do I put this?
|
|
|
|
Mar 18 2007, 04:30 PM
Post
#4
|
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 |
^ About me.
|
|
|
|
Mar 18 2007, 05:04 PM
Post
#5
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Aug 2005 Member No: 203,745 |
its not working
|
|
|
|
| *Intercourse.* |
Mar 18 2007, 05:23 PM
Post
#6
|
|
Guest |
Change it to this:
CODE <style>body {scrollbar-face-color:######;
scrollbar-highlight-color:######; scrollbar-3dlight-color:######; scrollbar-shadow-color:######; scrollbar-darkshadow-color:######; scrollbar-arrow-color:######; scrollbar-track-color:######;}</style> |
|
|
|
Mar 18 2007, 05:48 PM
Post
#7
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Aug 2005 Member No: 203,745 |
|
|
|
|
| *WHIMSICAL 0NE* |
Mar 18 2007, 05:52 PM
Post
#8
|
|
Guest |
^ It's working fine for me. I can see where your scrollbars are, but you have everything set to black (000000) so it's the same as your background color. Maybe that's why you can't see it?
|
|
|
|
Mar 18 2007, 06:03 PM
Post
#9
|
|
|
Member ![]() ![]() Group: Member Posts: 15 Joined: Aug 2005 Member No: 203,745 |
ok...dont laugh but i was browsing in firefox & when i changed to internet explorer, the scrollbar showed up.
smh @ myself. its been a looooooooooooooooooong day on myspace. topic closed & thank you again. |
|
|
|
Mar 18 2007, 06:15 PM
Post
#10
|
|
![]() vengeance. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 3,058 Joined: Jul 2006 Member No: 437,024 |
^ Hah, yeah scroll bar colors don't take effect in firefox. It sucks, I know.
Anyways, glad your question was answered. Topic Closed. |
|
|
|
![]() ![]() |