tutorial-css-layout.adp
Delivered as text/html
Related Files
[ hide source ] | [ make this the default ]
File Contents
<property name="context">{/doc/acs-core-docs/ {ACS Core Documentation}} {Laying out a page with CSS instead of tables}</property> <property name="doc(title)">Laying out a page with CSS instead of tables</property> <master> <style> div.sect2 > div.itemizedlist > ul.itemizedlist > li.listitem {margin-top: 16px;} div.sect3 > div.itemizedlist > ul.itemizedlist > li.listitem {margin-top: 6px;} </style> <include src="/packages/acs-core-docs/lib/navheader" leftLink="tutorial-vuh" leftLabel="Prev" title="Chapter 10. Advanced Topics" rightLink="tutorial-html-email" rightLabel="Next"> <div class="sect1"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="tutorial-css-layout" id="tutorial-css-layout"></a>Laying out a page with CSS instead of tables</h2></div></div></div><div class="sect2"> <div class="titlepage"><div><div><h3 class="title"> <a name="id1375" id="id1375"></a>.LRN home page with table-based layout</h3></div></div></div><div class="mediaobject" align="center"><img src="images/dotlrn-style-1.png" align="middle"></div><p>A sample of the HTML code (<a class="ulink" href="files/dotlrn-style-1" target="_top">full source</a>)</p><pre class="programlisting"><table border="0" width="100%"> <tr> <td valign="top" width="50%"> <table class="element" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td colspan="3" class="element-header-text"> <bold>Groups</bold> </td> </tr> <tr> <td colspan="3" class="dark-line" height="0"><img src="/resources/acs-subsite/spacer.gif"></td></tr> <tr> <td class="light-line" width="1"> <img src="/resources/acs-subsite/spacer.gif" width="1"> </td> <td class="element-text" width="100%"> <table cellspacing="0" cellpadding="0" class="element-content" width="100%"> <tr> <td> <table border="0" bgcolor="white" cellpadding="0" cellspacing="0" width="100%"> <tr> <td class=element-text> MBA 101</pre> </div><div class="sect2"> <div class="titlepage"><div><div><h3 class="title"> <a name="id1376" id="id1376"></a>.LRN Home with CSS-based layout</h3></div></div></div><div class="mediaobject" align="center"><img src="images/dotlrn-style-3.png" align="middle"></div><p>A sample of the HTML code (<a class="ulink" href="files/dotlrn-style-2" target="_top">full source</a>)</p><pre class="programlisting"><div class="left"> <div class="portlet-wrap-shadow"> <div class="portlet-wrap-bl"> <div class="portlet-wrap-tr"> <div class="portlet"> <h2>Groups</h2> <ul> <li> <a href="#">Class MBA 101</a></pre><p>If the CSS is removed from the file, it looks somewhat different:</p><div class="mediaobject" align="center"><img src="images/dotlrn-style-2.png" align="middle"></div> </div> </div> <include src="/packages/acs-core-docs/lib/navfooter" leftLink="tutorial-vuh" leftLabel="Prev" leftTitle="Using .vuh files for pretty URLs" rightLink="tutorial-html-email" rightLabel="Next" rightTitle="Sending HTML email from your application" homeLink="index" homeLabel="Home" upLink="tutorial-advanced" upLabel="Up">