Forum Moderators: not2easy
I have 3 columns in a table,
can each column have it's own
style to it?
<html>
<head><style type="text/css">
<!--
table{border:solid 1px #000000;}
#left {width:100px;height:100px;background-color:#ff0000;border:solid 1px #000000;}
#center {width:100px;height:100px;background-color:#00ff00;border:solid 1px #000000;}
#right {width:100px;height:100px;background-color:#0000ff;border:solid 1px #000000;}
//-->
</style></head>
<body><table><tr>
<td id="left">left</td>
<td id="center">center</td>
<td id="right">right</td>
</tr></table></body>
</html>
Being new to csss, you may find
this link extremely useful..
w3schools [w3schools.com]
birdbrain
Two quick questions that I hope someone can help be answered:
*difference between div class and span class
* do you need to tag each paragraph?
Thanks for the site it looks like a great start
For instance:
<div class"right" >
<h1> My Paragraph </h1>
<p>This is my first paragraph. </p>
<p> </p>
<h2> Second Paragraph </h2>
<p>This is my second paragraph. </p>
</div>
And before you ask, yes you can but a div inside a div.
I will let someone how can clearly define the div and span tag answer the rest of your question.