thanks Paul, I forgot momentarily about definition lists! heheh

Rob: display: block didn't work that smoothly, but thanks mate .. 

Damn there is so much to take in while learning CSS and sticking to
standards! Worth it thou.. 

- Josh -
[ [EMAIL PROTECTED] ]



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Novitski
Sent: Friday, 10 December 2004 8:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] text-align problem.

At 01:26 PM 12/9/04, Joshua Leung wrote:
>By Email:
>Administration:         [EMAIL PROTECTED]
>Projects:               [EMAIL PROTECTED]
>Services:               [EMAIL PROTECTED]
>Scott Nicholson:        [EMAIL PROTECTED]
>Managing Director

I'd try a definition list:

<dl>
         <dt>Administration:</dt>
         <dd>[EMAIL PROTECTED]</dd>
         ...
</dl>

dt
{
         float: left;    /* position dds to the right of dts */
         clear: left;    / return to the left margin for each new dt */
         width: 10em;    /* or whatever width works */
}
dd
{
         float: left;
         margin-left: 11em;      /* align the right column */
}

There are ample examples of this on the web; sorry I'm momentarily without 
my usual bookmarks but you can google
         css "definition list" float left
and find tons.

Paul 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************





******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to