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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Any Replacement of excessive  ??
Old 11-10-2006, 06:41 AM Any Replacement of excessive  ??
Average Talker

Posts: 20
Name: Ben
Trades: 0
Hi all!
is anybody has idea to replace multiple   to create space? Suppose I want a Horizontal bar as below:

Home :: Products :: Contact us

I've to use may nbsps to create space between Home and :: and again :: and Products.

Is there any ideas??

Thanks in advance folks.
Ben

Last edited by benbradle; 11-10-2006 at 06:43 AM..
benbradle is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-10-2006, 10:01 AM Re: Any Replacement of excessive  ??
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Yes, use CSS to control spacing.
Put your menu in an unordered list, then you can style the LI items.. including spaces.
__________________
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 11-10-2006, 10:47 PM Re: Any Replacement of excessive  ??
Silent77's Avatar
Ultra Talker

Posts: 269
Name: Silent
Location: Ohio
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Put your menu in an unordered list, then you can style the LI items.. including spaces.
or you can add padding to the left and right on the anchor tag. This may be easier.
__________________
Firefox
rediscover the web

Please login or register to view this content. Registration is FREE
Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Old 11-14-2006, 02:21 AM Re: Any Replacement of excessive  ??
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
One reason to use a list is that it gives structure to the text in the links.

Html being a language that gives structure to information, the anchor element (tag) does give some indication as to what the text represents, however, using the list element further defines the links. After all navigation, whether vertical or horizontal is a *list* of links.

Although you can add padding to your anchor elements, for structure sake, it would probably be better to use another element such as a list.

Sometimes we see the use of div tags to accomplish this. This will give the document the look you want, however, again, it doesn't provide the correct designation to the link text.

It is a list!

Just getting a document to validate doesn't always mean that it is formed well.

The div tag is usually over used. Many times we will see a div tag with text in it. Th div tag is given its own id and then css is attached to create the Look you want.

Many times this will be done and the text inside the div will recieve no further definition. It should either have an h element applied to it, i.e., <h1>, <h2>, etc. or a paragraph <p>, or some other element that clarifies what the text is.

So instead of using a div tag with an id, why not just use a paragraph tag and use the id the same way..? ..!

It is always a good idea to pur your navigation in a list.. It is usually the best place for it to be.

OK I'm done with my rant..


Listen to LadynRed.

~Chip

p.s. - Oh. Did I mention that you should put your navigation in a list..?
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Reply     « Reply to Any Replacement of excessive &nbsp;??
 

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