Padding Padding
Janet
Systems
 Register  Login 
Telephone  01628 566 178
Website Design, Hosting and Software Services
  Search 
Padding
corner Padding corner
Padding Padding
corner Padding corner
 HTML Articles

When using tables in html sometimes the border does not appear around all of the cells within the given table. consider the following example:

<TABLE  border="1">
  <TR>
    <TD>Day</TD>
    <TD>Apples</TD>
    <TD>Bananas</TD>
  </TR>
  <TR>
    <TD>Monday</TD>
    <TD>3</TD>
    <TD>2</TD>
  </TR>
  <TR>
    <TD>Tuesday</TD>
    <TD></TD>
    <TD>1</TD>
  </TR>
  <TR>
    <TD>Wednesday</TD>
    <TD></TD>
    <TD></TD>
  </TR>
</TABLE>

Day Apples Bananas
Monday 3 2
Tuesday 1
Wednesday 2 2

In the example above you will notice that the entry for Apples on Tuesday does not have all of its borders in place. The correction for this is simple, we need to ensure that the cell has some content. However, in this instance we wish the cell to be blank. To overcome the problem add the predefined special entry of into the cell. This then gives the result shown below.


<TR>
  <TD>Tuesday</TD>
  <TD> </TD>
  <TD>1</TD>
</TR>

 

Day Apples Bananas
Monday 3 2
Tuesday   1
Wednesday 2 2

 

NAT June 2005


This article viewed: 665 times Back

Copyright © 2004-2007 Janet Systems Ltd.

 Print   

DotNetNuke Website design and hosting from £15.00 per month. More...

Looking for a website design company in the Thames Valley, call us on 01628 566178

DotNetNuke Modules
DotNetNuke Modules availalble from Janet Systems

DotNetNuke Skins
DotNetNukeSkins.gif

from Janet Systems

Padding
Copyright 2002-2008 Janet Systems Ltd.   Terms Of Use  Privacy Statement Tuesday, May 13, 2008