|
Posted by Jonathan N. Little on 09/06/07 03:02
Daniel wrote:
> On Sep 5, 7:57 pm, Martin Jay <mar...@spam-free.org.uk> wrote:
>> On Wed, 05 Sep 2007 14:15:28 -0700, Daniel <d_pinea...@hotmail.com>
>> wrote:
>>
>>> On Sep 5, 4:21 pm, "mrcakey" <nos...@spamispoo.com> wrote:
>>>> "Daniel" <d_pinea...@hotmail.com> wrote in message
>>>> 3 columns? Although I don't think nesting form elements inside a table is
>>>> strictly de rigeur these days. Maybe use labels?
>>> Is there no way to do this without a 3rd column by any chance?
>> If I've understood your requirements correctly, I think I'd go with a
>> 3 column table format, merging columns two and three to display the
>> data.
>>
>> Like so: <www.spam-free.org.uk/pages/table3.html>.
>> --
>> Martin Jay
>
> Martin,
>
> Thank you. Although I was trying to find an alternative to using a
> third column for just one instance, it does seem to be the best
> solution. Thank you for the demo it is greatly appreciated.
>
Sure there is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>2 column</title>
<style type="text/css">
table.example { border: 1px solid black; width: 15em; }
table.example td { border: 1px solid black; width: 50%; }
table.example th.price,
table.example td.price { text-align: right; }
table.example th.price span { float: left; }
</style>
</head>
<body>
<table class="example">
<tr><th>Item</th><th class="price"><span>Price</span> $</th></tr>
<tr><td>sample1</td><td class="price">0.00</td></tr>
<tr><td>sample2</td><td class="price">0.00</td></tr>
<tr><td>sample3</td><td class="price">0.00</td></tr>
<tr><td>sample4</td><td class="price">0.00</td></tr>
</table>
</body>
</html>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|