[EMAIL PROTECTED] wrote:
> Hi everyone,
>
> I was wondering if anyone has a link or information as how to best handle
> text with CSS. By text I mean a line of text that may include 3 pieces of
> information, like name, phone, and email address.
>
> In the past, I always used tables for this, but want to handle this with
> the use of CSS if possible.
>
> I found a site that mentioned word-spacing, but that won't work because I
> don't want a large amount of spacing between the first and last name.
>
> Any suggestions or links are greatly appreciated.
>
> Thanks! ;-)
>
> Suzanne
>
Hi Suzanne,
I sometimes use one of a few methods for formatting snippets of
inline data. For a one liner it's not a job for a table really unless
you do a row of headers and a row of values. I know it's probably not
semantic and-all-that but I have two examples here:
http://www.sanchothefat.com/dev/inlinedata.html
The first is a definition list (i just like it as a means of
grouping key-value type information but there's a whole debate on the
use of them that I'm not sure what the consensus is, probably best
avoided to circumvent opening the debate again). The second example is
the same thing achieved with a div and spans. Pretty straight forward to
style it how you want.
Rob
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/