Log in
Latest topics
Top posting users this week
No user |
Nimbuzz id Maker
Table with All Borders (Even with Empty Cells)
Page 1 of 1
Table with All Borders (Even with Empty Cells)
If you've ever tried to display an HTML table with borders within your web page, you may have discovered that unless you are displaying some text or an image within a table cell, the border will not display. However, this HTML tip will enable you to display an HTML table with borders even if some of your cells are empty.
- Code:
<!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydat-->
<table border="1" style="border-collapse: collapse; border: 1.0pt solid windowtext; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 1184; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; width: 311px;">
<tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes">
<td style="width:103px; border:solid windowtext 1.0pt;
mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 1</o:p></p>
</td>
<td style="border-right: 1.0pt solid windowtext; border-top: 1.0pt solid windowtext; border-bottom: 1.0pt solid windowtext; width:103px; border-left:none; mso-border-left-alt:solid windowtext .5pt; mso-border-alt:
solid windowtext .5pt; padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 2</o:p></p>
</td>
<td style="border-right: 1.0pt solid windowtext; border-top: 1.0pt solid windowtext; border-bottom: 1.0pt solid windowtext; width:103px; border-left:none; mso-border-left-alt:solid windowtext .5pt; mso-border-alt:
solid windowtext .5pt; padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 3</o:p></p>
</td>
</tr>
<tr style="mso-yfti-irow:1">
<td style="border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-bottom: 1.0pt solid windowtext; width:103px; border-top:none; mso-border-top-alt:solid windowtext .5pt; mso-border-alt:solid windowtext .5pt;
padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 4</o:p></p>
</td>
<td style="width:103px; border-top:none;border-left:
none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> </o:p></p>
</td>
<td style="width:103px; border-top:none;border-left:
none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 6</o:p></p>
</td>
</tr>
<tr style="mso-yfti-irow:2;mso-yfti-lastrow:yes">
<td style="border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-bottom: 1.0pt solid windowtext; width:103px; border-top:none; mso-border-top-alt:solid windowtext .5pt; mso-border-alt:solid windowtext .5pt;
padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> </o:p></p>
</td>
<td style="width:103px; border-top:none;border-left:
none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 8</o:p></p>
</td>
<td style="width:103px; border-top:none;border-left:
none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt" valign="top">
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:
normal"><o:p> 9</o:p></p>
</td>
</tr>
</table>
<br><font face="Tahoma"><span style="font-size: 8pt; text-decoration: none"><a target="_blank" href="http://www.htmlfreecodes.com/">HTML Free Code</a></span></font>
storm- Member
- Posts : 155
Points : 458
Reputation : 1
Join date : 2012-12-05
Similar topics
» Table with All Borders (Even with Empty Cells)
» Creating A Placeholder For An Empty Table Cell
» Adding Color To Your Table Borders
» Table color
» HTML table placeholder
» Creating A Placeholder For An Empty Table Cell
» Adding Color To Your Table Borders
» Table color
» HTML table placeholder
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Sun Aug 24, 2014 8:48 pm by samir alam
» Mobile Server Available 24/7 Online Service Feel Free For Use
Wed Mar 12, 2014 3:44 pm by pithu-karam
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:53 pm by gooddumpcc4u
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:52 pm by gooddumpcc4u
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:52 pm by gooddumpcc4u
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:51 pm by gooddumpcc4u
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:51 pm by gooddumpcc4u
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:50 pm by gooddumpcc4u
» VENDOR OF HIGH QUALITY FIRST HAND DUMPS !!! SELL CVV FRESH-PAYPAL-TRANSFER WU
Mon Jan 27, 2014 11:50 pm by gooddumpcc4u