Tuesday 29 April 2014

How to add cellpadding to this html

Posted by Саша 18:52, under | No comments


How to add cellpadding to this? (html)? How to add cellpadding to this? (html)?

<td valign="top">
<table>
<tr>
<td>

<style type="text/css">
<!--
body {
background-color: #ffffff;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style2 {
font-size: 36px;
font-weight: bold;
}
-->
</style>
<tr>
<td width="300" valign="left" bgcolor="#EDE4C5">
<p class="style1">
<span class="style2"> Historical Actresses </span><br>

Audrey Hepburn<br>
Marilyn Monroe<br>
Katherine Hepburn<br>
</p>
</tr></td>


Other Answers:




Tables went out in the 1990s and was NEVER meant to be used for a web page layout. Only tabular data. If you use CSS, dump the table tags and do the layout properly with div tags.

Ron



cellpadding generally goes in <table..>

<table cellpadding="#">
....






0 коммент.:

Post a Comment