Xml coding with css file?

jessi1980

New member
Registered
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
 
Newer Threads
Replies
5
Views
5,082
Replies
10
Views
6,733
Replies
2
Views
3,740
Replies
8
Views
6,208
Replies
10
Views
6,763
Recommended Threads
Similar Threads

Sponsors

Tag Cloud

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