Are you searching for information about adding a CSS navigation button menu to your website with Dreamweaver? Then you need to use tutorials on the subject as they assume in-depth knowledge and helps you do all the steps of developing a full-fledged website with the web editor. Dreamweaver is a software application relates to web designing and has been developed by Adobe. This program is much popular among web designers as it makes tasks simpler and lessen the time that other would take when doing with HTML and CSS codes. The main task of the program is to create a navigation bar for websites that people can simply do by inserting your data such as bar, name of the links, bar images, pointed URL, etc to the Dreamweaver.
Image source ebookee.org
Here we will show an easy method to create a CSS navigation button menu to your website with Dreamweaver. This menu will let you change your website navigation with an easy MySQL database update. There is Chrome CSS Drop Down menu available at Dynamic Drive. It is lightweight and free and easily customizable. There are many other CSS menus to choose from. People need to be somewhat familiar with Dreamweaver to add a CSS navigation button menu to their website. When you give power to your navigation menu from a database, you will be able to easily change your site’s navigation menu by updating the fields that form the Dreamweaver record set.
Here we list out the ways on how to add a navigation menu to your web pages.
Create the menu code
You need to secure the code you want from the navigation menu wizard. The wizard will instruct you in making a button menu for your website. It will also allow you customize many things such as color, text, web address and the width control level. As you do customize these things, the wizard will make the code for the button menu. When you work on the next steps, the wizard will make a group of codes that you can use to put into your site separately.
Save the CSS code
The primary part of the results page gives the CSS code for the menu. This menu part controls the look of the buttons. You need to mouse click somewhere in the text box in the menu ‘CSS code’ and a menu will come out. Choose ‘Select All’ from the menu and now, the CSS code will be shown as highlighted, indicated that it has been chosen. Click right button on the mouse in the same text and choose ‘copy’ option. Start up Dreamweaver and keep your web browser opened as you need to go back to get more codes.
Click on the ‘File’ menu and choose ‘New’ item that will come up with Dreamweaver’s ‘New Document’ box. Get the ‘page type’ column in the box and choose the line ‘CSS’. Then select the ‘create’ option. There will appear a blank document with 2 lined added by Dreamweaver. Besides, there will be a text cursor under the lines. Then choose the ‘Edit’ and select ‘paste’ on the menu. Your selected code will appear in the window.
Now, look at the pasted code and you will see the word "tswtabs.css" or "tswnavbar.css". This is the filename you need to use while saving the file. Furthermore, this filename is given by the wizard. Choose ‘Save As’ option from the ‘file’ menu and a dialog box will appear thereon. Type the filename you got earlier and choose the ‘save’ option. You are completed with the file in Dreamweaver! Close the file by choosing ‘close’ option in Dreamweaver.
Add the navigation menu style sheet to the web page
Take the web page where you need to put the menu. Choose ‘"Text | CSS Styles | Attach Style Sheet" from the menu. When a box appears with the title ‘attach external style sheet’, choose the ‘browse’ option and pick up either "tswnavbar.css" or "tswtabs.css" file and press ‘ok’ button. Ensure that the ‘Add as link’ box is chosen instead of ‘import’ option. Then choose ‘ok’ option to stop the box.
Attach the Navigation bar to your web page
Go back to your web browser and choose the section ‘HTML menu button code. This section includes the original menu for your web page. Right click your mouse in the text box in the section and choose ‘Select All’ to draw attention to the code. Then again the right button on the mouse and choose ‘copy’. Go back to Dreamweaver and you can see your web page in the editor.
Choose a blank area on the page to put the button menu. Now, you will see a blinking cursor in the area and this is the place where your menu will be inserted. Choose ‘code’ option from the ‘view’ menu bar. This will modify Dreamweaver from ‘Design’ mode to ‘code’ mode. People who do not follow Dreamweaver tutorial the design mode will allow them to make page through a visual interface. You will be shown at code mode the highlighted HTML code for your web page. Use the code mode to put the menu.
Henceforth, your web page won’t have the previous appearance. Anyway, the cursor will be there in the same place. People who create a blank space the way suggested previously will have their blinking cursor somewhere in a unit of code and look like;
<p> </p>, but this is likely between the <p> and the
Move the cursor using keyword or mouse to the place just before the code pointed. This means, the blinking cursor will be there before the whole <p> </p> series. Choose ‘paste’ option from the ‘edit’ menu. And, the code you chosen and copied from the browser will be shown here. Choose ‘design’ option from ‘view’ menu to let Dreamweaver go back to the design mode. Now, your menu is started appearing in your web page. Save the page in a usual manner.
You are finished with your process of adding a good looking navigation menu to your website using Dreamweaver.
Author bio: James is a part time blogger and writer who writes for numerous websites and blogs for Graphic Design Agency. You may check more about adding a CSS navigation button menu and tips here at the site – Jask Design.