help with an HTML table code?

Maggie D

New member
i need to know how to align the numbers in the cells on my calendar on to the left side-
this is th code for the first day of the month:
<td width="14.3%" height="15%">1</td>


please answer quickly!!! thankss
(sorry it didn't work, but it's alright i'll handle it )
 
This script will start the first day on the 'Monday' of 'January'.
<table>
<th>January</th>
<tr>
<td align="center">Sunday</td>
<td align="center">Monday</td>
<td align="center">Tuesday</td>
<td align="center">Wednesday</td>
<td align="center">Thursday</td>
<td align="center">Friday</td>
<td align="center">Saturday</td>
</tr>
<!-- This is the start of the number of days in the month, keeping Sunday blank, and starting the month on Monday.-->
<tr>
<td width="14.3%" height="15%">*</td>
<td width="14.3%" height="15%" align="left">1</td>
...
</tr>
</table>
Specifics mm? Probably you already knew most of this... align="left" I believe was all you needed, ha.
 
Try this:

<td style="width:14.3%;height:15%;

text-align:center;">1</td>

DO NOT actually leave the big gap in there. It should all be one line. I wrote it like that because that's the only way Yahoo Answers will let me.

I'll be watching this question, so edit your question and let me know if it works or not.
 
Back
Top