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 simple Hover Text menu
Old 09-13-2008, 07:16 PM Problem with simple Hover Text menu
Banned

Posts: 315
Name: Doug
Trades: 1
I am using a simple text menu.

On the vertical BLOCK style I get nice even menu buttons.
Button
Button
Button
Button
Based on the Width statement.

When I use INLINE, the only way I can get things even is to put them inside
a Table and use a series of <TD> commands.

There has to be a way in CSS to get EACH menu item boxed even
nomatter what size of the menu word is.

Space.......Home Space........ Snittenbrugen Space........ Dog

All evenly spaced and centered.

Not scruntched like this Home Snittenbrugen Dog

I don't want to have to create a series of GRAPHIC BUTTONS.

Any suggestions......

Last edited by marketingman100; 09-13-2008 at 07:18 PM..
marketingman100 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-13-2008, 08:40 PM Re: Problem with simple Hover Text menu
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
use display:block, set a width and float them left.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-13-2008, 09:32 PM Re: Problem with simple Hover Text menu
Banned

Posts: 315
Name: Doug
Trades: 1
I tried

display: inline; width:12px
display: block-inline; width:12px

The 5 menu items are still scrunched.

Last edited by marketingman100; 09-13-2008 at 09:37 PM.. Reason: Forgot something
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 09-13-2008, 09:37 PM Re: Problem with simple Hover Text menu
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
you can't apply a width to an inline element
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-13-2008, 10:03 PM Re: Problem with simple Hover Text menu
Banned

Posts: 315
Name: Doug
Trades: 1
Then my only choice to spread out the inline menu elements evenly across about 500 pixels is to table them?
marketingman100 is offline
Reply With Quote
View Public Profile
 
Old 09-14-2008, 02:29 AM Re: Problem with simple Hover Text menu
serandfae's Avatar
Do the "Evil Nanner" !!!

Posts: 8,936
Name: Tim Daily
Location: Apex, NC, US, Sol 3
Trades: 0
No. If you so as chrishirst has already said, you have a width specified. You can alter that width with CSS locally if needed. By using display:block and floating left the menu elements follow one another inline. Check the menu at forrestcroce.com for an example. It's text only with varying word lengths, and uses a baseline width that is modified locally to suit. Specifying a baseline padding and altering as necessary is also an option.

tim
__________________
SEO "experts" smell like Big Fish_|_
Please login or register to view this content. Registration is FREE


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


Last edited by serandfae; 09-14-2008 at 02:32 AM..
serandfae is offline
Reply With Quote
View Public Profile Visit serandfae's homepage!
 
Old 09-14-2008, 01:20 PM Re: Problem with simple Hover Text menu
Banned

Posts: 315
Name: Doug
Trades: 1
I figured out why
display: block; float:left; wasn;t working.
I had the width statment in the class set to 100% from the original block menu I copied. I lowered it to 10% and these are lining up exactly how I want them

.buttons2 a {color: #000000;
border: 1px solid;
background-color: #A6C8F0;
padding: 1px;
padding-left: 4px;
font: 13px Arial, sans-serif;
font-weight: bold;
text-decoration: none;
border-color: #FF0000 #FF0000 #FF0000 #FF0000;
display: block; float:left;
margin: 0px;
width: 10%;
text-align: left;}

Thanks!
marketingman100 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with simple Hover Text menu
 

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