Solved

reposition drop down buttons

Posted on 2013-05-29
5
349 Views
Last Modified: 2013-05-29
I needed to bump up my nav bar higher on the page so I added a  -80 margin to the "ul#nav " property.  Now, the drop downs for crankshaft and crankcase and really high.  I tried adding a margin to "li ul li a"  to bring them down but it didn't work.  Any ideas?
darkhorse.css
index.html
0
Comment
Question by:nsitedesigns
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39204649
Need a link to the page.

Cd&
0
 

Author Comment

by:nsitedesigns
ID: 39204707
Sorry.  Thought including the files was the more preferred option.
http://nsitedesigns.com/nsitedesigns/darkhorse/index.html
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 39204800
For me a link is always preferable.  I can spen an hour digging through code to find something I can discover in 5 minutes with a diagnostic.

Your problems starts with invalid code in the form of duplicate id names.  If you run the validator and correct the errors which appear to be directly related to the problem, it will allow the CSS to be applied correctly and consistently.

Cd&
0
 
LVL 4

Assisted Solution

by:Ahmed Hussein
Ahmed Hussein earned 250 total points
ID: 39204841
Try this it's more practical:
in line 124
li ul{
position: absolute;
left: 115px;
top: 0;
display: none;
}

Open in new window


in line 119

ul#nav li {
position: relative;
list-style: none;
}

Open in new window


~AG
0
 

Author Comment

by:nsitedesigns
ID: 39204865
Found the duplicate.  Ending up modifying the margin-top on the sidebar rather than on the nav.  thanks
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Node.js 11 80
Getting robots.txt Error 9 56
Presenting my portfolio on the web? 11 52
emailing registered email addresses in phpmyadmin 5 66
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question