471,337 Members | 985 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Drop down roll over menu is dreamweaver

I am working on my website, and I am trying to make it so my menu bar is similar to the one on this website. I was told it requires css, but I am not sure how that works.

Can some provide me with a start, either code, or a very good tutorial website.

Thank you.
Sep 8 '07 #1
3 10202
7,435 Expert 4TB
W3Schools .
Sep 8 '07 #2
here is some code that might be useful for you to build a horizontal navigation as the one this site using HTML/CSS:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Navigation Example</title>
<style type="text/css">
border: 1px solid #000000;
overflow: auto;
background-color: #990000;
text-align: center;

#nav_cont ul{
width: 100%;
padding-left: 10px;
margin-left: 0px;
margin: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
background-color: #990000;
text-align: center;

#nav_cont li{
float: left;

#nav_cont ul a{
display: block;
width: 160px;
padding: 5px;
background-color: #990000;
color: #CCCCCC;
text-decoration: none;
border-bottom: 5px solid #990000;}

#nav_cont ul a:hover{
background-color: #FF0000;
color: #FFFFFF;
text-decoration: none;
border-bottom: 5px solid #FFFFFF;}


<div id="nav_cont">
<ul id="nav_list">
<!-- here you'll have to change the title, the text to be displayed and add the links -->
<li><a href="#" title="Home">Home</a></li>
<li><a href="#" title="About us">About us</a></li>

<li><a href="#" title="Buying">Buying properties</a></li>
<li><a href="#" title="Selling">Selling properties</a></li>
<li><a href="#" title="Services">Our Services</a></li>
Sep 9 '07 #3
Hi, im new to using dreamweaver but just wondered whether this process for horizontal drop downs work for vertical drop down menus aswell, if not how do they work?
Mar 10 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by laredotornado | last post: by
3 posts views Thread by Andrew | last post: by
2 posts views Thread by laredotornado | last post: by
4 posts views Thread by TycoonUK | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.