Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Problem with 100% wide <ul> in FF
Old 01-02-2008, 06:36 PM Problem with 100% wide <ul> in FF
pealo86's Avatar
Super Spam Talker

Posts: 850
Name: Matt Pealing
Location: England, north west
Trades: 0
I have a 100% wide horizontal list inside a div [that is also 100% wide] that Im using as a global nav.

But in FF there is always a horizontal scroll bar at the bottom [even when there isnt any scrolling room].

If I remove the list the scroll bar goes away. Does anyone know how I can fix it? Here is my code:

Code:
#nav {
padding:0;
margin:1px 0 0 0;
width:100%;
list-style-type:none;
background-color:#2786CB;
float:left;}

#nav li {
display:inline;}

#nav a {
width:130px;
margin-right:1px;
padding:5px 0 5px 5px;
background:url(../image/liNav.jpg) no-repeat 0 0;
display:block;
text-decoration:none;
color:#FFF;
float:left;
border-right:#FFF solid 1px;}
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 01-02-2008, 10:06 PM Re: Problem with 100% wide <ul> in FF
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It's probably the few px of margins you have that throws things off. You might have to set the width or the list back a couple of % points maybe 98% or 97%.

If that doesn't work try setting the div width a little smaller.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Problem with 100% wide <ul> in FF
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.18294 seconds with 12 queries