Page is a not externally linkable
stevenb_1959 - 10:12 pm on Mar 6, 2006 (gmt 0)
the code is : div.layout div#topleft #topleft img div#topright div#bottomleft div#bottomright div#navbar div.navigation a.navigation div#navhome div#navservices div#navpricing div#navaboutus div#navcontactus div#navhome:hover div#navservices:hover div#navpricing:hover div#navaboutus:hover div#navcontactus:hover div.popupmenuservices div#menuservices /* Default properties for menu navigation buttons */ /* Set menu to visible when container mouses over navfirst button */ /* Properties for menu navigation buttons, set position and graphic */ a#mnuservicesnavdoors a#mnuservicesnavaccessories /* Mouseover states for menu navigation buttons */ a#mnuservicesnavdoors:hover a#mnuservicesnavaccessories:hover div.popupmenucontactus div#menucontactus /* Default properties for menu navigation buttons */ /* Set menu to visible when container mouses over navfirst button */ /* Properties for menu navigation buttons, set position and graphic */ a#mnucontactusphonemail /* Mouseover states for menu navigation buttons */ a#mnucontactusphonemail:hover </style> <body> </div> <div id="topright" class="layout"> </div> <div id="bottomleft" class="layout"> <div id="bottomright" class="layout"> Any advice, critique and helpful information to enlighten me on CSS would be greatly appreciated. If any of my code is incorrectly or not properly constructed even if it is unrelated to the drop down menus I would greatly appreciate it as I learn more from peoples ideas and how they see and interpret things. PS: any suggestions on how to get my "topright" div up and to the right of my "top left" div.
Hello, I am fairly new to CSS and am trying to create a drop down menu, actually two of the nav buttons will have dropdown menus.
One for the SERVICES nav button and one for the CONTACT US nav button. I have the SERVICES drop down menu working but the CONTACT US dropdown menu doesnot seem to be working, I think I have the divisions closed incorrectly but I amnot sure.
body
{
behavior: url(behaviors/csshover.htc);
background: white;
margin: 0;
padding: 0;
height: 100%;
font-family: helvetica, arial, verdana, sans-serif;
font-size: 12px;
font-weight: 600;
}
{
width: 700px;
margin: 0 auto;
height: 100%;
}
{
float:left;
margin: 0;
height: 200px;
width: 200px;
}
{
display: block;
}
{
height: 200px;
width: 500px;
margin: 0 0 0 200px;
background: blue;
}
{
position:absolute;
left:0;
top:200px;
float:left;
height: 400px;
width: 200px;
background: green;
}
{
left: 200px;
top: 200px;
height: 400px;
width: 500px;
margin: 0 0 0 200px;
background: yellow;
}
{
position:relative;
top: 0px;
}
{
height: 24px;
width: 100px;
display: block;
position: absolute;
top: 0px;
}
{
height: 100%;
width: 100%;
display: block;
}
{
background: url(images/nav_home_on.jpg) no-repeat;
left: 25px
}
{
background: url(images/nav_services_on.jpg) no-repeat;
left: 91px
}
{
background: url(images/nav_pricing_on.jpg) no-repeat;
left: 191px
}
{
background: url(images/nav_aboutus_on.jpg) no-repeat;
left: 291px
}
{
background: url(images/nav_contactus_on.jpg) no-repeat;
left: 391px
}
{
background: url(images/nav_home_off.jpg) no-repeat;
}
{
background: url(images/nav_services_off.jpg) no-repeat;
}
{
background: url(images/nav_pricing_off.jpg) no-repeat;
}
{
background: url(images/nav_aboutus_off.jpg) no-repeat;
}
{
background: url(images/nav_contactus_off.jpg) no-repeat;
}
{
display: none;
}
{
position: absolute;
top: 24px;
width: 100px;
height: 72px;
background: url(images/menunavservices_dropdown_bg.gif) no-repeat;
}
a.menunavservices
{
position: absolute;
display: block;
width: 100px;
height: 24px;
left: 0px;
}
div#navservices:hover div.popupmenuservices
{
display: block;
}
a#mnuservicesnavcountertops
{
top: 0px;
background: url(images/nav_mnu_ser_countrtps_on.jpg) no-repeat;
}
{
top: 24px;
background: url(images/nav_mnu_ser_doors_on.jpg) no-repeat;
}
{
top: 48px;
background: url(images/nav_mnu_ser_acces_on.jpg) no-repeat;
}
a#mnuservicesnavcountertops:hover
{
background: url(images/nav_mnu_ser_countrtps_off.jpg) no-repeat;
}
{
background: url(images/nav_mnu_ser_doors_off.jpg) no-repeat;
}
{
background: url(images/nav_mnu_ser_access_off.jpg) no-repeat;
}
{
display: none;
}
{
position: absolute;
top: 24px;
width: 100px;
height: 48px;
background: url(images/menunavcontus_dropdown_bg.gif) no-repeat;
}
a.menunavcontactus
{
position: absolute;
display: block;
width: 100px;
height: 24px;
left: 0px;
}
div#navcontactus:hover div.popupmenuscontactus
{
display: block;
}
a#mnucontactusnavemail
{
top: 0px;
background: url(images/nav_mnu_cntus_email_on.jpg) no-repeat;
}
{
top: 24px;
background: url(images/nav_mnu_cntus_phmal_on.jpg) no-repeat;
}
a#mnucontactusnavemail:hover
{
background: url(images/nav_mnu_cntus_email_off.jpg) no-repeat;
}
{
background: url(images/nav_mnu_cntus_phmal_off.jpg) no-repeat;
}
</head>
<div id="topleft" class="layout">
<img src="images/logo.jpg" alt="Kitchen Refacers.ca">
<div id="navbar" class="layout">
<div class="navigation" id="navhome"><a href="#" class="navigation"></a></div>
<div class="navigation" id="navservices">
<div id="menuservices" class="popupmenuservices">
<a href="#" class="menunavservices" id="mnuservicesnavcountertops"></a>
<a href="#" class="menunavservices" id="mnuservicesnavdoors"></a>
<a href="#" class="menunavservices" id="mnuservicesnavaccessories"></a>
</div>
</div>
<div class="navigation" id="navpricing"><a href="#" class="navigation"></a></div>
<div class="navigation" id="navaboutus"><a href="#" class="navigation"></a></div>
<div class="navigation" id="navcontactus">
<div id="menucontactus" class="popupmenucontactus">
<a href="#" class="menunavcontactus" id="mnucontactusnavemail"></a>
<a href="#" class="menunavcontactus" id="mnucontactusphonemail"></a>
</div>
</div>
stuff Bottom Left here
</div>
stuff Bottom Right here
<div id="content">
#*$!x<br />
#*$!x<br />
xxxx<br />
xxxx<br />
xxxx<br />
xxxx<br />
xxxx<br />
xxxx<br />
xxxx<br />
xxxx<br />
xxxx<br />
</div>
</div>
Thank you in advance for your time and thoughts.
Steve