HTML 4.0 Logo Reader Icon OEB 1.0 Logo PPC Logo <style> Style data

This tag allows an eBook source document to contain cascading style information. The style tag encloses rules which, when applied to the tags and attributes contained within the document, determine the final layout for the eBook. The <style> tag always appears within the <head> tags at the top of an eBook source document.

The type attribute has two values, text/x-oeb1-css for OEB compliant style sheets, and text/css for non-OEB-compliant, standard CSS style sheets.

If you add a <style> tag outside the <head> section of an HTML document, Reader generates a blank page at that location.

Attributes

type

Sample Code

<html>
<head>
<title>San Marco</title>
<style>
a {text-decoration: none}
h3 {page-break-before: left; margin-top: 20%; color: green}
h2 {page-break-before: left; margin-top: 15%}
h1 {margin-top: 30%; align: center}
.fl {text-indent: 0em}
.hang {text-indent: -2em}
.fn {color: red}
</style>
</head>

© 2000 Microsoft Corporation. All rights reserved. Terms of use.