|
<DIV ...>ALIGN
<DIV ...><DIV ...><DIV ...><P ...><DIV ...>
This is stuff before the <NOBR><CODE><DIV ...></CODE></NOBR>. <DIV> This is stuff inside the <NOBR><CODE><DIV ...></CODE></NOBR>. <P> This is more sutff inside the <NOBR><CODE><DIV ...></CODE></NOBR>. </DIV> This is stuff after the <NOBR><CODE><DIV ...></CODE></NOBR>.
which gives us:
This is stuff before the <DIV ...>
<DIV ...>
This is more sutff inside the <DIV ...>
<DIV ...>
Because <DIV ...><DIV ...><P ...>
<DIV ...>ALIGN<HEAD>
<STYLE TYPE="text/css">
<!--
.warning
{
font-family:sans-serif;
color:red;
padding-left: 50pt;
padding-right: 50pt;
}
-->
</STYLE>
These styles rules create a styles class named
warning. You can then apply the class to a <DIV ...>CLASS attribute:
<DIV CLASS="warning"> contents of DIV element </DIV>
which gives us this:
In the next page we'll look at setting the alignment of the element.
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.