Color for xlink : xlink « CSS Style « XML






Color for xlink

File: Data.xml

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="Style.css"?>
<document xmlns:xlink="http://www.w3.org/1999/xlink">
  <page>
    <title>Images With XLink</title>
    <paragraph>This 
      <link xlink:type="simple" 
            xlink:show="embed" 
            xlink:actuate="onLoad" 
            xlink:title="Lions" 
            xlink:href="lions.jpg">link
      </link>
      should embed an image but doesn't.
    </paragraph>
  </page>
</document>

File: Style.css

title{
  display:block;
  color: #000000;
  font-size: 30px;
  font-weight: bold;
}
paragraph {
  display:block;
  padding:10px;
  margin: 10px;
}
link {
  color: #0000FF;
  text-decoration: underline;
}

 








Related examples in the same category

1.Style for xlink
2.link style