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.

Website Design Forum


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



Freelance Jobs

Reply
Make nav bar 100% using tables/divs
Old 05-25-2008, 07:33 AM Make nav bar 100% using tables/divs
Super Talker

Posts: 129
Trades: 1
hi,
i have five buttons on my navigation bar. there are 200px wide each.

i want to know how to make five buttons fit properly on all resolutions.
for example, on 1024 x 768 the five buttons show perfectly. but on 800 x 600 only four buttons show.

so can i make the buttons fit nicely (100%).

i also want the buttons to be 1px away from each other so they're not stuck together or miles apart.

thank you.
yourmediaking is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-25-2008, 12:20 PM Re: Make nav bar 100% using tables/divs
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
200px wide x 5 = 1000px - that's the MINIMUM you're going to get, so if you shrink the screen to 800px, there's no choice but to show only 4 or drop the last button below the rest.

Quote:
i want to know how to make five buttons fit properly on all resolutions.
Not likely to happen if you choose to use a static image for your button. If you use relative widths with a small REPEATING background for the button, then you'll have better luck.

1px between buttons.. you'll have to use margin/padding on the <li> and the <a> to control spacing.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 05-25-2008, 01:17 PM Re: Make nav bar 100% using tables/divs
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Unless the actual button needs to be 200px, for images, text or whatever, then you can use percentages. In your case set the width to 20%
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Make nav bar 100% using tables/divs
 

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.36172 seconds with 12 queries