PDA

View Full Version : Chrome Menu and CSS



plutarch
10-01-2007, 12:00 AM
1) Script Title: Chrome CSS Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm

3) Describe problem:

Hi there. I'm building a new site using the Chrome menu, and having some problems with the css... if I try to add some general css code (like the below) into the exisiting chromestyle.css, the menu itself will no longer dipslay on my page.

I'm sure this is something entirely obvious, but I can't seem to work it out. If I remove the below code and revert to the original css, then all is fine. However if I then add the below into a style tag in the head of the page instead, then the menu again disappears.

Any ideas? :)



body {

font-family:verdana;
font-size:10px;
background:#666666;
}


h1 {
font-family: verdana;
font-weight: bold;
color:#000000;
font-size: 12px;
}

h2 {
font-family: verdana;
color:white;
font-size: 10px;
}


a:link {color: #000; text-decoration: underline; }
a:active {color: #000; text-decoration: underline; }
a:visited {color: #000; text-decoration: underline; }
a:hover {color: #bbb; text-decoration: underline; }

plutarch
10-02-2007, 04:24 AM
Aah, sorted! :)