Solved

Absolutle Positioned Navigation bar in a Float Layout

Posted on 2009-04-07
3
271 Views
Last Modified: 2012-05-06
I am trying to get navigation bar to be absolute positioned.  However, when I resize the browser the navbar moves. How do I keep it in place?  See Link

http://rccwebproject.net/students/Metamora/index.html
html, body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  border: 0;
}
body { background-color: rgb(250,250,250)};
 
 
 
h1 {
font-family: Trebuchet MS;
font-size: 24px;
font-weight: normal;
color: rgb(47, 79, 79);
}
 
#main {
  width: 800px;
  max-width: 1000px;
  height: 600px;
  background-color:#fff;
  margin: 2em auto;
  padding: 1em;
}
 
#logo {
height:251px;
margin-top: 50px;
margin-left:auto;
margin-right:auto;
text-align:center;
width:800px;
}
 
#buttons {
	position: absolute;
	top: 184px;
	right: 182px;
	width: 349px;
}
 
 
#footer {
font-size: 70%;
text-align: center;
line-height: normal;
margin-top: 30px;
}

Open in new window

0
Comment
Question by:Albee_J
[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
3 Comments
 
LVL 13

Expert Comment

by:myderrick
ID: 24093058
On the link provided the #button is positioned relative with top of -180px.

Please check and provide feedback

MD
0
 

Accepted Solution

by:
Albee_J earned 0 total points
ID: 24095935
I got it to work by futzing around with it.  I changed it from absolute to relative.
0
 

Author Comment

by:Albee_J
ID: 24095949
I posted to quickly in here. Sorry...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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 Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Suggested Courses

632 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