My XML learning two [CSS XML] topic --- small shoes
1 ........ CSS to place nodes: small shoes .xml
-------------------------------------------------- ----------------
Here if you connect different stylesicles, please modify it.
Lisongtao
The Application Of ASP
-------------------------------------------------- -------
1.css display result: Book node style, background light blue
-------------------------------------------------- ---------
Books
{
Display: block;
}
Book
{
Display: block;
Background-color: #aabbcc
}
-------------------------------------------- Experience: The above definition Methods and redefine the tag style of HTML, such as an unacity of CSS, it is recommended to use DW to generate, then the effect is effective. Very easy to learn. Definition XML display method. Small shoes .xml ---- -------------------------------------------------- ---
Lisongtao
zhongguo
-------------------------------------------------- -------- 3.css.listclass {color: red; font-size: 26pt} .listsmall {color: blue; font-size: 15pt} class ID reference style method. Small shoes.xml-- ----------------------------------
Lisongtao
Lisongtao
--------------------------------- iD.css -------------- ------------------------------------ # List {font-size: 28pt; color: red; display : block} # list1 {font-size: 14pt; color: blue display: block} Methods of using CSS directly in XML
Hello XML!
Method @Import URL ("Sevil.css") in a style sheet is incorporated herein.
Block-shaped blockage display XML.XML with CSS -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------
Books
{
Display: block;
Width: 30em;
}
List
ASP and its application
TSINGHUA UNIVERSITY
12.30
James
XML and its application
TSINGHUA UNIVERSITY
15.30
John
CSS and its application
Peiking University
16.30
-------------------------------------------------- ------------- Css.css ------------------------------------------------------------------------------------------------------------------------------------------------------ ---------------------------- Book {Display: Block; Background-Color: #aabbcc; padding: 1.2em; margin-bottom : 1em;} author {Display: block; font-size: 16pt; color: red;} Reference multiple CSS style sheets in the same XML file