TD Cell Custom CSS


TD Custom CSS for a Table Cell

There are several ways to add css to a td cell with css. One simple way is to give the form or table row (tr) a specific id. Then, you can use that id with reference to a cell 'td'.

/*css id for the form or table row*/
#myid
{padding:10px;
}
/*css for the td table cell*/
#myid td {width:215px;padding:10px;}