Gif image as content : content « CSS Style « XML






Gif image as content



File: Data.xml

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="Style.css"?>
<data>
  <PROJECT>
    <PROJECTTITLE>title</PROJECTTITLE>
    <DEVELOPER>developer</DEVELOPER>
  </PROJECT>
  <PROJECT>
    <PROJECTTITLE>title 2</PROJECTTITLE>
    <DEVELOPER>developer 2</DEVELOPER>
  </PROJECT>
</dagta>

File: Style.css

DEVELOPER:after {
   content: url("blueball.gif");
   display: block
}

PROJECTTITLE {
   display: block
}

 








Related examples in the same category