|
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/
[Back to original message]
|