Forum Moderators: open

Message Too Old, No Replies

Put a box around one td element?

         

runner

5:54 am on Feb 1, 2005 (gmt 0)

10+ Year Member



Is there a way to put a box around one single td element in a table? I'm making a table-based calendar and I want to have a box around the current day.

If I can't do this I'll have to go to plan B and change the background color of that one td element.

moltar

5:58 am on Feb 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This seems to do the trick.


<table>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td style="border: thin solid black">5</td>
<td>6</td>
</tr>
<tr>
<td>7</td>
<td>8</td>
<td>9</td>
</tr>
</table>

runner

7:22 pm on Feb 1, 2005 (gmt 0)

10+ Year Member



Works great! Thanks...