Microsoft Office Tutorials and References
In Depth Information
Code for New Design
Code for New Design
The first bit of the code is the head, which contains the title of the page as well as
style elements. As the style needed for the invoice is so minimal I've placed the CSS
within the HTML file as opposed to including a CSS file. If a more extensive CSS
was used, it would be better suited to its own file. Another book available with more
information on Drupal's template system, and creating or changing themes within
Drupal is Drupal 5 Themes by Ric Shreves ISBN 978-1-847191-82-3 published by Packt
Publishing ( http://www.packtpub.com/drupal-5-themes/book ).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Invoice $txn->txnid</title>
<style type="text/css">
#invwrapper
{
margin: 0 auto;
width: 500px;
text-align: center;
}
#invheader img
{
align: left;
}
#invmain table
{
width: 500px;
}
.floatr
{
float:right;
}
.textr
{
text-align: right;
}
.textl
{
text-align: left;
}
.corporate
{
font-size: 13px;
}
.addressp
{
 
Search JabSto ::




Custom Search