Creating Solid Rollover Buttons in Dreamweaver Using CSS

Thanks to CSS you can now make rollover buttons in dreamweaver instead of inserting them one by one. It also keeps the size down on your page since you don't have all them images. So how do you use CSS for rollover buttons? Well let me show you. In this guide I will
 show you how to use solid colors for roll over buttons.

Solid Color Rollover Buttons In Dreamweaver

Step 1 - Open Dreamweaver, create you a new file, and save it. (Save it as rollover.html)

Step 2 - Type some text on the document. In my example I typed Rollover Button.

Step 3 - Right Click anywhere on the document and click CSS Styles > New. In the dialog box do the following:
Selector Type - Class
Name - .rolloverbutton
Define in - This Document Only
(See Image 1)
Then click OK

Step 4 - A new dialog box will appear. This is where you will make your buttons. I will list each category and what to put in each category. In parentheses I will put what I chose in my example to give you an idea.

Category - Type

Font - Choose your font. (Verdana)
Size - Choose the size of your font. (14)
Weight - Choose if you want the font bold, normal, etc. (normal)
Style - Choose if you want the font italic, normal, etc. (normal)
Decoration - Choose if you want underline, overline, etc. (none)
Color - Choose the color of your font. (#FFFFFF)
(See Image 2)

Category - Background

Background Color - Choose the color that you want your button to be. (#006699)
(See Image 3)

Category - Block

You don't need to do anything in the Block Category.

Category - Box

Width - Choose how wide you want your button to be. (100)
Height - Choose how tall you want your button to be.  (20)
(See Image 4)

Category - Border

Style - Choose the style of your border. (Solid)
Width - Choose how wide you want your border. (1 pixels)
Color - Choose the color of your border. (Black #000000)
(See Image 5)

You don't need to mess with any of the other categories. Once you are finished with the steps above, click OK.

Step 5 - Highlight over your text you typed on the document, type a link in the link field in your properties window.

Related information
  • Solid Color Rollover Buttons In Dreamweaver
  • Press F12 to preview your button in a browser.
  • In parentheses I will put what I chose in my example to give you an idea.
 
Comments 1 - 10 of 10  
Comments
Type in Your Comments Below

css Font examples , Properties , Attribute - - // http://www.css-lessons.ucoz.com/font-css-examples.htm

Posted on 06/27/2008 at 11:06:32 AM

Site us looking very soothing i liked your site

Posted on 11/26/2007 at 5:11:00 AM

Highly informative, but i needs illastrations to get the point across and to others the comments box is for comments....

Posted on 08/26/2007 at 11:08:00 PM

Jesus can walk on water, but Chuck Norris can walk on Jesus.

Posted on 07/30/2007 at 10:07:00 PM

grsmow wakxtlmhr ewsnlufz nuzpkwhd wjby xjwrab kvjcu [URL]http://www.dafbocwy.uiloqjbxn.com[/URL] zmgvw vlxeyiq

Posted on 12/23/2006 at 9:12:00 AM

ojaz bspr yjerulh egbkiznhq mubypvsg jbprf uqkbinr eqrm rlvh

Posted on 12/23/2006 at 9:12:00 AM

reqams jutxmzkpi rigl fhxyjagn kylgqc jurn nroc http://www.lpvhi.xnzgt.com

Posted on 12/23/2006 at 9:12:00 AM

humps u

Posted on 09/09/2006 at 8:09:00 PM

great tutorial, everything was easy and helped very much.

Posted on 07/06/2006 at 7:07:00 PM

This site is very very nice, without book i able to create a roll overs

Posted on 06/12/2006 at 12:06:00 AM

Comments 1 - 10 of 10