English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I Am Designing My Web Page And I Want To Have 1 Line My Page With Text On The Left In The Center And On The Right on the same line i cant get it to work

2007-10-16 08:05:15 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

Try this:







Left text Center text Right text

2007-10-16 08:10:05 · answer #1 · answered by terzogenito 1 · 1 0

There are 2 ways to accomplish this.
One is to use the 'space' code which is & n b s p ; (without the spaces) a gazillion times ...OR you can use a table. The code for a table can be found here: http://www.mermeliz.com/html/tblcode.htm
Another place for HTML help is at html goodies : http://www.htmlgoodies.com/tutorials/tables/article.php/3479851

2007-10-16 15:14:54 · answer #2 · answered by mermeliz 7 · 0 0


Text on the right




Text on the left




Text on the center

2007-10-16 15:09:23 · answer #3 · answered by ilan 6 · 0 0

Use css. Make your line an unordered list with three list-items, list-style-type none. Hence:


  • this

  • that

  • the other


...
and in the ... section of your file (or in an external css file) place:
ul#mylist { text-align: center; margin-left: 1em; margin-right: 1em; list-style-type: none; }
ul#mylist li#leftpart { float: left; margin-left: 1em; }
ul#mylist li#rightpart { float: right; margin-right: 1em; }

....I've added perhaps some extraneous and unnecessary css here, but this much'll *brute force* it!

2007-10-16 15:16:48 · answer #4 · answered by fjpoblam 7 · 0 0

fedest.com, questions and answers