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,077
Replies
10
Views
6,729
Replies
2
Views
3,731
Replies
8
Views
6,194
Replies
10
Views
6,755
Recommended Threads
Replies
2
Views
3,580
  • Locked
Replies
5
Views
5,986
Replies
11
Views
8,062
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