I want to create a set the layout of a table with color using CSS with standard HTML 4.0, so i am not sure my workout is right or wrong? I am just trying my best
I use this site to http://www.w3schools.com/css/tryit.asp?filename=trycss_table_table-layout and it came out blank. What is wrong?
<html>
<head>
<style type="text/css">
body {
font-family: vardana, geneva, arial, sans-serif;
}
h1, h2 {
font-weight: normal;
color: #cc6600;
broder-bottom: thin dotted #888888;
}
h1 {
font-size: 170%;
}
h2 {
font-size: 130%
}
blockquote {
font-style: italic;
}
table {
margin-left: 20px;
margin-right: 20px;
border: thin solid black;
caption-side: bottom;
broder-collapse: collapse;
}
td,th {
broder: thin dotted gray;
padding: 5px;
}
th {
background-color: #cc6600;
}
cell color {
background-color: #fcba707;
}
<tr>
class= "cellcolor"
caption {
font-style: italic;
padding-top: 8px;
}
</body>
</html>
Tags: