book.xml:
<?xml version="1.0" encoding="gb2312"?>
<?xml-stylesheet type="text/css" href="book.css"?>
<book>
<name>java高级编程</name>
<author>董锦升</author>
</book>
book.css:
book {
background-color: #CCCCCC;
z-index: 0;
width: 100%;
height: 100%;
position: absolute;
left: 1px;
top: 1px;
}
name {
color: #FF00FF;
left: 10px;
top: 10px;
}
author{
color: #FF00FF;
left: 10px;
top: 10px;
}