...

View Full Version : please help convert tables to CSS



jasonc310771
02-22-2008, 03:10 PM
wishing to convert the following so it is all CSS

please can someone kindly advise how this is done.

thank you for your help.




<table border="1" cellpadding="8" bordercolor="#FFFFFF" bgcolor="#507BCD" style="border-collapse:collapse;">
<tr>
<td><div>abc</div></td>
</tr>
</table>

harbingerOTV
02-22-2008, 03:37 PM
#container {
border: 1px solid #fff;
background: #507bcd;
}

#content {
margin: 8px;
}


<div id="container">
<div id="content">
<p>abc</p>
</div>
</div>


it's a start.

jerry62704
02-22-2008, 03:50 PM
CSS:
div {
border: 1px solid #fff;
background-color: #507bcd;
padding: 8px;
}

html:
<div>abc</div>

You might want to put that in a paragraph (<p>abc</p>). Is this what you were looking for?

effpeetee
02-22-2008, 04:17 PM
http://accessat.c-net.us/articles/convert.html

Try this for starters. More help in the Sources program in my signature.

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum