Reply LinkBack Thread Tools Search this Thread
Old 13-05-2008, 02:31   #1 (permalink)
octavia
Registered User
 
Join Date: May 2008
Posts: 20
How do I set the positioning of the text here?

I just started learning how css works. I'm trying to create a website which will be bilingual in the short run and tri-lingual in the long run. So I want to keep everything as uniform as possible to make it easier to translate.

So I created the banner-like thingie (which I called buttons-table) where the layout of the banner and buttons (Home, About us, Contact, etc) and the background, text color, etc. go in a .css file (pic:img301.imageshack.us/img301/9241/hometi8.jpg). But since, I'm using different languages, I don't want to use graphics but clickable text (later I can add some effects to it). So I did this:

Code:
<div class="buttons-table"> HOME </div>

.buttons-table is in the css file.

So I want to set the placement of each text-button (Home, About us, etc.) manually, in case I'd have to modify it if the words are too long in any of the languages. So the banner-like thingie (sorry!) would look like this: HOME ABOUT US CONTACT ETC. And the html files would have the positioning of each button. For instance:

Code:
<div class="buttons-table"> HOME ABOUT US CONTACT ETC </div>

The problem is that I dunno how to do this, given the fact that the text is between the div tags. Should I use html or would it be better if I use css within the file, if so, which tag?

Thanks
  Reply With Quote
Old 13-05-2008, 02:37   #2 (permalink)
haku
shiro
 
haku's Avatar
 
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 1,658
This should probably be able to help you:

Floatutorial: Tutorial 5 - Step 1
__________________
This is not a signature.
  Reply With Quote
Old 13-05-2008, 02:43   #3 (permalink)
octavia
Registered User
 
Join Date: May 2008
Posts: 20
Thanks but I don't want to create a list. The text should be aligned horizontally.

I forgot to add that I was gonna use:
Code:
P { .... }

But the P adds a paragraph when what I want is to add the text to the right of the previous text. Is there a way to add this without the P thing?

PS. Nevermind that, I just saw the rest of the steps. Thanks!
  Reply With Quote
Old 13-05-2008, 02:54   #4 (permalink)
John Good
+
 
Join Date: May 2005
Location: Tropical Networks
Posts: 1,318
Quote:
Originally Posted by octavia
I don't want to create a list. The text should be aligned horizontally.

then you should read that too
__________________
Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
  Reply With Quote
Old 02-06-2008, 02:12   #5 (permalink)
octavia
Registered User
 
Join Date: May 2008
Posts: 20
Thank you John.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8