Converting HTML to CSS?

liunx

Guest
Hi

Please can any one tell me or point me in the right direction, to what the css equivalent is for this html code =

<table border="0" cellspacing="4" cellpadding="4" align="center" bgcolor="#990000" bordercolor="#990000">
<tr bordercolor="#990000" bgcolor="#FFFF66" nowrap>
<th nowrap>

Many thanks

Happy.Have a check in here at w3schools (<!-- m --><a class="postlink" href="http://www.w3schools.com/css/css_examples.asp">http://www.w3schools.com/css/css_examples.asp</a><!-- m -->)<style>
table {
border: none;
margin: 0 auto;
background-color: #990000;
}
tr {
background-color: #FFFF66;
}
th,td {
margin: 4px;
padding: 4px;
}
th {
white-space: nowrap;
}
</style>
 
Back
Top