473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

ul navigation menu resizes in firefox Help!

1
I am having a bit of trouble with the navigation menu on the sample website I am currently creating. The menu fits perfectly when firefox is fully sized but when I resize the browser the menu always moves. For example the last li always moves down.

This is the css:
ul#navigation {
padding: 0;
margin: 0;
background-color: black;
color: #fff;
float: center;
width: 100%;
}
ul#navigation li { display: inline; }
ul#navigation li a {
padding: .25em 3.583em;
background-color: silver;
color: black;
text-decoration: blink;
float: center
;
border-bottom: solid 10px black;
border-top: solid 10px black;
border-right: solid 10px black;
border-left: solid 10px black;
}
a:link, a:visited { color: #008080; }
ul#navigation li a:hover {
color: white;
background-color: black;
} #header { position: absolute; top: 0px; left: 0px;
width: 100%; }

p.s

I realise this question is ask alot but none of the other answers help me with my problem.
Aug 19 '10 #1
1 1485
TheServant
1,168 Expert 1GB
This prob won't solve your prob, but float: center is not CSS. There is only left or right.

Can you post your relevant HTML as well please.
Aug 20 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: der kommissar | last post by:
Hi all I'm having a small problem with a navigation menu on a site i'm doing. The address of the site is: http://www.statik.be/radiomol/ All works perfectly fine in FireFox, Opera and...
1
by: ngoc | last post by:
Hi I want to build dropdown navigation menu. Searching from google gives many commercial programs -> Not easy to choose. And I want to make it myself. Are there any good tutorials to build...
10
by: H.S. | last post by:
Hi, Let me begin by saying that I am not an HTML expert. The most experience I have for HTML authoring is when I made my webpages in my grad studies at my university and some on my home computer...
0
by: Andrew Polo | last post by:
Dear Sirs, I'm using Navigation Menu control on one of my Web Pages (.NET Framework 2.0). Everything is fine as far as I'm not using it within Master Page. If I make my page as a context of Master...
0
by: monahan7_7 | last post by:
Saw a posting on this from January - wanting to know if anyone has a resolution. Navigation Menu in asp.net 2.0. Using web.sitemap file 64K in size. onMouseOver for menu items, takes up to 4...
1
by: Arielle | last post by:
I know what I want. That's the first step right? Now the question is... is it possible. Using embedded unordered lists I want to display a horizontal navigation menu with potential sub-menus...
4
by: tburger | last post by:
Hey everyone- This is my first post at The Scripts, but I've used the forums before for other programming issues. Hopefully, someone has some solid styling advice for me. I've now been dealing...
1
by: Fabx | last post by:
Hallo, sorry for my english. I want to build a navigation menu with the repeat control, the items of menu are in a table of database. All items of the menu have class="MenuLink", but the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.