logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Web Design
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 02-16-2010, 06:41 PM   #1
Mini
 
Join Date: Feb 2010
Posts: 12
Question Dreamweaver 8 Scroll Bar Question

Iím working on a custom website and I was wondering if anyone new how to create a custom scrollbar for a dreamweaver 8 document. Iíve currently been using the code below for my scroll bars but with this code the scroll bar is always the same shape and color. If anyone has any suggestions Iíd be so relieved.

example:

<style type="text/css">
body {
font: 11px Arial, Helvetica, sans-serif;
}
div#content {
width: 200px;
height: 200px;
background: #ccc;
overflow: scroll;
}
</style>
...

<div id="content">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nunc dapibus sagittis orci. Mauris magna elit, facilisis a, imperdiet ac, imperdiet a, velit. Vivamus augue tortor, pellentesque in, aliquam ac, vulputate nec, arcu. Suspendisse dolor risus, porttitor vel, luctus sit amet, rhoncus quis, turpis. Proin ut neque.</p>
</div>
Mini is offline   Reply With Quote
Old 02-16-2010, 08:59 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

The scrollbar is part of the browser, so I don't think anyone except IE let's you change it, and it's not part of the CSS standard:

Code:
body {
scrollbar-face-color:#8080FF;
scrollbar-arrow-color:#FFFFFF;
scrollbar-track-color:#DDDDFF;
scrollbar-shadow-color:'';
scrollbar-highlight-color:'';
scrollbar-3dlight-color:'';
scrollbar-darkshadow-Color:'';
}
domedia is offline   Reply With Quote
Old 02-16-2010, 09:07 PM   #3
Mini
 
Join Date: Feb 2010
Posts: 12
Default

Alright then, I'm starting to realize that what I'm actually looking for is a way to make my custom designed image slider work. I designed one in fireworks already, now I just need to figure out how to make it actually work. The image slider will be placed within the custom designed website. I need to place it there so that the length of the site will always be consistent.

Thanks.
Mini is offline   Reply With Quote
Old 02-16-2010, 10:47 PM   #4
DWcourse
DWcourse's Avatar
 
Join Date: Apr 2009
Posts: 3,276
Default

People go to an awful lot of trouble to keep the height of their pages the same and it seems like a waste to me.

First of all everyone has different height monitors.

Second, a scrolling div seems much less user friendly than just scrolling the page.

Finally people get use to the scroll bars their system provides, why make them look different and confuse them?
__________________
If my answer helped, check out DWcourse.com for Dreamweaver tips and tutorials.
DWcourse is offline   Reply With Quote
Old 02-16-2010, 10:53 PM   #5
Mini
 
Join Date: Feb 2010
Posts: 12
Default

hmmmmmmmmm
Mini is offline   Reply With Quote
Old 02-17-2010, 12:15 AM   #6
edbr
edbr's Avatar
 
Join Date: Aug 2005
Location: Bali
Posts: 11,175
Default

theres always javascript i guess i yahoogled a few here http://www.java2s.com/Code/JavaScrip.../ScrollBar.htm
__________________
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is online now   Reply With Quote
Old 02-17-2010, 01:25 AM   #7
Mini
 
Join Date: Feb 2010
Posts: 12
Default

Hey Thanks. That's pretty much what I was looking for. I decided I really want to use code for this project rather that flash.
Mini is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 02:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com