Table Borders
Borders within borders
table.I { position: absolute;
top: 20%;
left: 30%;
border: outset 10px;
border-color: red;
background-color: gray;
height: 100px;
width: 300px; }
td.Ia { border: inset 10px;
border-color: green;
background-color: yellow; }
[table class="I"][tr]
[td class="Ia"]
[table][tr][td][/td][/tr][/table][/td]
[/tr][/table]
|
border-collapse: collapse;
border-collapse: none;
Tables inside Tds
table.td { margin-left: auto; margin-right: auto;
position: relative;
top: 3%;
border: outset 10px;
border-color: yellow;
background-color: black;
height: 100px;
width: 300px; }
td.a { height:100px;
width: 30px;
background-color: red; }
td.b { height:100px,
width: 100px;
background-color: orange; }
table.te { border: inset 15px;
border-color: white;
height: 50px;
width: 100px;
text-align: center;
margin-left: 50%; }
td.c { height:100px;
width: 30px;
background-color: green; }
[table class="td"] [tr]
[td class="a"][/td]
[td class="b"]
[table class="te"][tr]
[td][img alt="art" src="court.jpg" height="50" width="50"][/td]
[/tr][/table]
[td class="c"][/td]
[/tr][/table]
|
CSS (4 of 6) Next Page