Xml coding with css file?

jessi1980

New member
Joined
Sep 24, 2013
Messages
1
Points
0
i'm unable to get the color in browser with xml file (css file)
please advise.

code for xml is
Code:
<?xml version="1.0" standalone="no"?>
<?xml-stylesheet type="text/css " href = "shachi.css"?>
<bookdetails>

<details>
<asin>9924299897</asin>
<name>2 states</name>
<catalog>book</catalog>
<author>chetan bhagat</author>
<release>16th august</release>
<prices>
<listprice>540.00rs</listprice>
<ourprice>800.00rs</ourprice>
</prices>
</details>


</bookdetails>
code for css file is
Code:
title {font-size:large ; font-weight:bold ; text-align:center ; display:block;}
details {display:block ; margin-top: 18px ; margin-left: 30px ; font-family:verdana ; color:red ;}
catalog {color:-red ;}
asin {font-style:italic ; color:cyan;}
name {color:red;}
author {margin-top:18px ; margin-left:60px ; color:maroon;}
please help me
thank you
 
Older threads
Replies
1
Views
2,916
Replies
1
Views
3,280
Replies
3
Views
3,987
Replies
9
Views
5,339
Replies
4
Views
5,930
Newer threads
Replies
5
Views
6,191
Replies
10
Views
8,227
Replies
4
Views
3,694
Recommended threads
Replies
7
Views
7,353
Replies
23
Views
13,198
Replies
8
Views
7,567
Replies
3
Views
1,881

Referral contests

Referral link for :

Sponsors

Popular tags

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top