Solved

added hyperlink to header now buttons on top of header are overlapping the header

Posted on 2011-03-05
3
277 Views
Last Modified: 2012-05-11
Hi!

I added a hyperlink to the header of this page that points to the home page.
http://www.topsecurityinc.com/about-us.asp
Now the top navigation buttons are overlapping the bottom of the header.
I tried adjusting the height of the buttons in the stylesheet, but it had no effect.
Then I tried adding to the margin setting in the .topnav-wrap class and the bar immediately
was pushed under the main content section.
I am pretty sure this is the section of the stylesheet that needs to be modified.

.navwrapper{width:829px;}
.topnav{width:829px;margin-left:9px;margin-bottom:0;height:42px;padding-left:5px;min-width:518px;}
.topnav-wrap *{margin:0;padding:0;}
.topnav-wrap{width:829px;margin-left:9px;height:42px;padding-left:5px;}
.topnav-wrap a{text-decoration:none;}
.topnav-wrap ul{list-style:none;}
.topnav-wrap p{margin:15px 0;}

Maybe I need to push the navigation bar down a few pixels?
Any specific code modifications would be appreciated.
0
Comment
Question by:TrueBlue
3 Comments
 
LVL 11

Assisted Solution

by:N R
N R earned 50 total points
ID: 35044058
Looks like it is good to me in Chrome.
0
 

Author Comment

by:TrueBlue
ID: 35044100
The problem occurs when using FF or IE8.
0
 
LVL 4

Accepted Solution

by:
mars-vie earned 450 total points
ID: 35044122
I think this happens because there is a 1 px border now.
Try setting the border of the image=0 or do it with CSS
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

706 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now