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

Thread Tools Display Modes
Old 02-16-2010, 05:41 PM   #1
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.


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

<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>
Mini is offline   Reply With Quote
Old 02-16-2010, 07:59 PM   #2
domedia's Avatar
Join Date: Dec 2003
Posts: 9,730

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:

body {
domedia is offline   Reply With Quote
Old 02-16-2010, 08:07 PM   #3
Join Date: Feb 2010
Posts: 12

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.

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

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, 09:53 PM   #5
Join Date: Feb 2010
Posts: 12

Mini is offline   Reply With Quote
Old 02-16-2010, 11:15 PM   #6
edbr's Avatar
Join Date: Aug 2005
Location: Bali
Posts: 11,204

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 offline   Reply With Quote
Old 02-17-2010, 12:25 AM   #7
Join Date: Feb 2010
Posts: 12

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

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 04:45 PM.

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