473,587 Members | 2,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Drop down roll over menu is dreamweaver

31 New Member
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 10335
drhowarddrfine
7,435 Recognized Expert Expert
W3Schools .
Sep 8 '07 #2
koldo6420
1 New Member
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.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Navigati on 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">Ho me</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
Kenshin4531
1 New Member
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
2293
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 a "T". I need to get the "T" communities to start at the top of the community list in the drop-down box. Right now the communities starting with...
4
2530
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 menus if you roll over "Flights", "Hotels" and so on. The only thing I want to do differently with this is that I want to put a repeating...
3
1945
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 a sub-menu from the list. (It is something like the menu bars on this page: http://www1.us.dell.com/content/default.aspx?c=us&cs=19&l=en&s=dhs) ...
4
3968
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 content on a web page. I am working in Dreamweaver 8 and code in asp.net (vb). I need to have a drop-down menu listing available news articles, when...
2
1252
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 code that is good with absolute position but has trouble with relatively placing such menus. Any advice is greatly appreciated, - Dave
4
9282
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 if it works, and if it does not, tell me why it does not work. Thanks.
0
2265
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 drops down a list: Elementary schools, Middle, Junior High, High schools. When you roll over each of the categories, another menu is suppose to...
4
2946
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 have been stumped, is this: When a builder name is selected from the drop down, I need to have the selected builders record, (name, address, etc)...
3
1533
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. It is supposed to make the menu show up by mouseover. Unfortunately nothing happens (no error codes either) - I don't see the menu when I roll over...
0
7923
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8216
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8349
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7974
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5719
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5395
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1455
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.