Images
css
table.octa {margin-left: 5%;
padding-right: 15px;
float: left;
text-align: center;
font-family: times new roman;
font-size: .8em;
font-weight: 900;
letter-spacing: 0; line-height: .3em;}
html
[table class="octa"] [tr] [td]
Name[/td] [/tr] [/table]
p.onea { position: absolute;
top: 30%;
left: 40%;
height: 100px;
width: 100px;
background-image: url(moon.jpg); }
[p class="onea"]
[img alt="art" src="moon.jpg" height="100" width="100"]
body { margin-left: 8%; margin-top: 12%;
margin-bottom: 8%;
background-image: url(clouds.jpg); /*full page image*/
font-family: times new roman;
font-size: 20px;
font-weight: 700; }
Horizontal Line
p.one { margin-left: auto; margin-right: auto;
position: relative;
margin-top: 300%;
text-align: center;
background-image: url(HRed.jpg);
height: 7px;
width: 500px;
[p class="B"] [img alt="hr" src="HRed.jpg"height="07" width="500">]
p.hr { margin-top: -1%;
margin-left: 1%;
height: 10px;
width: 550px;
background-color: gold; }
Tables
table.one { margin-left: auto; margin-right: auto;
position: relative;
border-style: solid;
border-width: 8px;
border-top-color: green;
border-right-color: blue;
border-bottom-color: red;
border-left-color: yellow;
background-color: gold;
width: 100px;
height: 100px;
text-align: center;
font-family: times new roman;
font-weight: bold;
font-size: 18px;
color: white; }
[table class="one"]
[tr] [td]Text or image here[/td] [/tr] [/table]
Table Data td
table.x { margin-left: auto; margin-right: auto;
position: relative;
height: 100px;
width: 300px;
border: inset 3px;
border-color: black; }
td.x1 { height: 40px;
width: 20px;
background-color: red; }
td.x2 { height: 40px;
width: 150px;
background-color: yellow;
padding-left: 30px;
text-align: center;
font-family: times new roman;
font-weight: bold;
font-size: 18px;
color: black; }
td.x3 { height: 40px;
width: 20px;
background-color: blue; }
[table class="x"[ [tr]
[td class="x1"] [/td]
[td class="x2"]Text goes here[/td]
[td class="x3"] [/td]
[/tr] [/table]
Text goes here |
CSS (3 of 6) Next Page