You are here: Re: CSS - Formatting text « HTML « IT news, forums, messages
Re: CSS - Formatting text

Posted by Daniel Dchelotte on 04/10/06 18:08

david.hunter@gmail.com a écrit :

> Hi All - I have a list of words that I would like to place into three
> 'columns', left justfied so that the word in each column 'lines up'.
> In tables I would simply use mutiple rows, three columns.

A TABLE would be okay actually, but there are better alternatives (see
below).

> http://unchained.ca/songs/index.php?menu=songs
>
> I wuold like to be able to fomrat the look of thes text so it is not
> so unorganized :
> Listen - Lyrics - song name
> Listen - Lyrics - song name
> Listen - Lyrics - song name
> Listen - Lyrics - song name
> Listen - Lyrics - song name

If you are to use a ragged left (right flushed) style, you'd better
put the fixed length text on the right, and leave the variable song
name on the left:

song name: track, lyrics
long song name: track, lyrics
shortest song name: track, lyrics

and so on. For this you don't even need a table.

Note that the current transitional XHTML DIV soup does not validate.
Among other suggestions: use a list (UL or OL) to markup the tracklist
(in fact much better than a TABLE, IMHO), do not reuse the same id
several times, set a background color, ...

--
Daniel Déchelotte
http://yo.dan.free.fr/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация