home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
207.233.110.77
/
207.233.110.77.tar
/
207.233.110.77
/
web15
/
tutorial.05
/
Case.03
/
dtable.css
< prev
next >
Wrap
Cascading Style Sheet File
|
2011-03-25
|
2KB
|
51 lines
/*
New Perspectives on HTML and XHTML 5th Edition
Tutorial 5
Case Problem 3
Dome Table Style Sheet
Author: Amber Jowers
Date: March 24, 2011
Filename: dtable.css
Supporting Files: bottom.jpg, bottomleft.jpg, bottomright.jpg, left.jpg, right.jpg, tableback.jpg, top.jpg, topleft.jpg, topright.jpg
*/
table.domeSpecs {float: right; font-size: 12 px;
margin: 0px 0px 10px 20px;
border-collapse: collapse;
background: url(tableback.jpg) no-repeat 98% 70%}
table.domeSpecs caption {font-size: 16px; letter-spacing: 5px; caption-side: top; text-align: center}
table.domeSpecs tr {height: 30px}
table.domeSpecs td {padding: 0px 5px 0px 5px}
table.domeSpecs thead tr {border-bottom: 2px solid gray; letter-spacing: 2px;
background: url(top.jpg) repeat-x top}
table.domeSpecs tfoot tr {border-top: 2px solid gray;
text-align: center;
background: url(bottom.jpg) repeat-x bottom}
table.domeSpecs tbody tr {border: 1px dotted gray}
table.domeSpecs col.firstColumn {width: 22%;
background: url(left.jpg) repeat-y left}
table.domeSpecs col.middleColumns {width: 28%;
background: url(blank.gif) repeat}
table.domeSpecs col.lastColumn {width: 22%;
background: url(right.jpg) repeat-y right}
table.domeSpecs #topLeft {background: url(topleft.jpg) no-repeat top left}
table.domeSpecs #topRight {background: url(topright.jpg) no-repeat top right}
table.domeSpecs #bottomLeft {background: url(bottomleft.jpg) no-repeat bottom left}
table.domeSpecs #bottomRight {background: url(bottomright.jpg) no-repeat bottom right}