Switch to full style
HTML code examples
Post a reply

Table with marked cell

Sat Feb 25, 2012 10:28 pm

Add border to the only one cell in your table .
Code:
<html>

<
head>
  <
title>Table with  marked cell</title>
   <
style type="text/css">
 

table.collapse {
  
border-collapsecollapse;
  
background-color:#657655;
}
td.bordedCell
{
  
border2px solid #CC3311;
}
 
  </
style>
</
head>

<
body>
<
table class="collapse">
  <
caption>Table with  marked cell </caption>
  <
tr>
    <
td>Row 1 data1</td>
    <
tdRow 1 data2</td>
  </
tr>
  <
tr>
    <
td class="bordedCell">Row 2 data1</td>
    <
td>Row 2 data2</td>
  </
tr>
  <
tr>
    <
td>Row 3 data1</td>
    <
td>Row 3 data2</td>
  </
tr>
  
</
table>

</
body>
</
html>

 




Post a reply
  Related Posts  to : Table with marked cell
 hide cell in table     -  
 Communication from pc to cell phone     -  
 how to build cell phone app     -  
 search for string in a cell array     -  
 J2ME web cam view in my cell phone     -  
 J2ME web cam view in my cell phone(may b bluetooth or ir)     -  
 how to make an application in java for cell phone.     -  
 Creating table using div tag     -  
 Div Table with css row span     -  
 Using table in latex     -  

Topic Tags

HTML Table