On 9/22/06, Tracey Zellmann <[EMAIL PROTECTED]> wrote:
> I have one line of text containing two elements. I want one to be
> left-justified and one to be right-justified.
> Something like this:
>
> JAMES W. JACOBS,
> Proprietor
>
> For instance, I am trying something like this:
>
> <p>JAMES W. JACOBS,<span class="title">Proprietor</span><p>
>
> If I use a style sheet that gives title text-align: right, I would think that
> might work.
>
> However, it does not. It just gives:
>
> JAMES W. JACOBS,Proprietor
>
> How can I accomplish this?
If I understand what you want correctly, the CSS rule:
span.title {float: right;}
...should do it.
--
Ed Seedhouse
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/