Table column width

liunx

Guest
Hi<br />
<br />
I am trying to setup a diary-style screen. It will have names of people down one side, and times across the top. I'd like it to look like a spreadsheet with boxes for each 15 minute interval from 7.00am to 21.00pm.<br />
<br />
I'll be using server-side coding to fill in the diary with various codes.<br />
<br />
How can I specify a fixed column width so that it is much neater and simple to use? I was hoping there would be a CSS attribute 'width' for <TD>, but I can't find it !<br />
<br />
Any suggestions?<!--content-->hi Rodders...<br />
<br />
<style type="text/css"><br />
td {width:200px;}<br />
</style><br />
<br />
this will do ALL columns at that width.<br />
if you want to designate specific columns only use a class<br />
<br />
<br />
<style type="text/css"><br />
td.wider {width:500px;}<br />
</style><br />
<br />
<tr><br />
<td>this will be 200 wide</td><br />
<td class="wider">this will be 500 wide</td><br />
</tr><br />
<br />
;) k<!--content-->Here's a link to the basic HTML.....<br />
<br />
CLICK (<!-- m --><a class="postlink" href="http://roundthebend.greater-peterborough.com/software/index.html">http://roundthebend.greater-peterboroug ... index.html</a><!-- m -->)<!--content-->try :<br />
<br />
<style type="text/css"> <br />
td {width:100px; text-align:center; border: 5px double #000; background-color: red;} <br />
</style><br />
<br />
(and then modify it for yourself)<br />
;) k<!--content-->
 
Back
Top