473,386 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 10322
drhowarddrfine
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:
[html]
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Navigation Example</title>
<style type="text/css">
#nav_cont{
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;}

</style>
</head>
<body>

<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>
</ul>
</div>
</body>
</html>
[/html]
enjoy!
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

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

Similar topics

1
by: Smriti Dev | last post by:
Hi, I have a drop down menu with a listing of communities and I use it to select a community, selecting a letter ie. "T" , I get bumped to the "T" section to choose communities that start with...
4
by: laredotornado | last post by:
Hello, I am looking for some recommendations for JS/HTML code that will allow me to generate drop down menus, sort of like the ones here http://travelocity.com/ where you can see the drop down...
3
by: Andrew | last post by:
Hello, friends, I was asked to implement a .aspx page with drop down menus. When a mouse pointer moves over a menu bar, a drop down list containing sub-menus will show up. Thus a user may select...
4
by: cathy | last post by:
Hi All, I am having problems displaying content relevant to the option selected in a drop-down menu. I have an xml document which is running content through Flash and I need to have the same...
2
by: laredotornado | last post by:
Hi, I want to create roll-over drop down menus on my site using HTML/JS. The menu will appear a fixed amount from the top, but a relative amount to the right of another element. I have found...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
0
by: Czechfish | last post by:
My files are located here: HTML & SWF FLA I am trying to create a multi-tier drop down menu, but I can't get it to work. Maintime line, frame 1 - loads a mc. When you rollover the mc, this...
4
by: cctxman1942 | last post by:
Here is what I have done: Created a page with a drop down menu listing names of builders retrieved from a mysql database containing contact info for client builders. What I need to do, and so far...
3
by: nyalugwe | last post by:
Hello, I am not at all experienced in Javascript so please bear with me. I'm trying to create a drop-down menu that will work in IE, and trying to use some Javascript code that I got from here. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.