CSS MC1803 XML AND WEB SERVICES LAB Anna University lab manual download fifth semester - Computer Programming

Latest

C C++ Java Python Perl Programs Examples with Output -useful for Schools & College Students

Saturday, January 29, 2011

CSS MC1803 XML AND WEB SERVICES LAB Anna University lab manual download fifth semester


create  a XML document for Book details and use CSS for formatting 

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="bookcss.css"?>

Cascading Style Sheet(bookcss.css)

library
{
   background-color:#000000;
   width:100%;
}
novel
{
   display:block;
   color:#f0f000;
}
technical
{
   display:block;
   color:#0ff000;
}
management
{
   display:block;
   color:#00f0f0;
}
fiction
{
   display:block;
   color:#f00a0a;
}
devotional
{
   display:block;
   color:#0000ff;
}
detective
{
   display:block;
}



romance
{
   display:block;
}
comic
{
   display:block;
}
bname
{
   font-size:30;
   display:block;
}
author
{
   margin-left:20;
   display:block;
}
price
{
   margin-left:20;
   display:block;
}
publication
{
   margin-left:20;
   display:block;
}
noofpage
{
   margin-left:20;
   display:block;
}
review
{
   margin-left:20;
   display:block;
}
fa
{
   display:block;
}



sa
{
   display:block;
}
pname
{
   display:block;
}
addr
{
   display:block;
}
date
{
   display:block;
}
by
{
   display:block;
}
reviewno
{
   display:block;
}
comment
{
   display:block;
}

No comments:

Post a Comment