chuck clark wrote:
>
> $ 10.00SubTotal
> $ 2.99Shipping
> $ 1.59Tax
> $ 14.58Total
>
As a side note, you could drop the class and go with "p span {}" instead of
"span.rightside {}"
Thierry | www.TJKDesign.com
__
css-discuss [E
Hi Ben,
That works great! I am curious about the top:-18px; How do you arrive at
that value?
does it have anything to do with font size and line spaceing?
Thanks,
Chuck
On 9/16/05, Ben Ward <[EMAIL PROTECTED]> wrote:
>
> I don't know if this is what you were after, but
>
>
>
> body{ bac
chuck clark wrote:
> I am trying to create a simple table that displays prices. I guess a real
> html table can be used here, but i am trying to stick with what i have, or
> close to it.
> $ 10.00SubTotal
> $ 2.99Shipping
> $ 1.59Tax
> $ 14.58Total
> The problem is in order to float:right the
I don't know if this is what you were after, but
body{ background-color:#ccc; color:#000; margin:0; padding:10px;}
div#currentTotal{border:1px solid #000; width:200px;}
span.rightside{float:right;position:relative;top:-18px;}
span#total{border-top:1px solid #000;}
SubTotal$ 10.00
Shipping$ 2
chuck clark wrote:
<--- snip >
I guess a real html table can be used here, but i am trying to stick with what i have,
<--- snip >
a real table 'should' be used here...!?!?
Why are you trying to do it without?
Do you have an example we can look at...
Cheers now
Kristina
Hi,
I am trying to create a simple table that displays prices. I guess a real
html table can be used here, but i am trying to stick with what i have, or
close to it.
this is what i have
body{ background-color:#ccc; color:#000; margin:0; padding:10px;}
div#currentTotal{border:1px solid #000;