Working with Stylesheets

Stylesheets are an essential tool for maintaining a consistent look and feel across the pages of a Web site, such as ShowFloor, with a minimum of work. Once a stylesheet is established, it's just a matter of associating individual styles with elements using class attributes.

The HTML fragment here is from the ShowFloor VendorList page. The page, as the name suggests, lists the vendors participating in the show from which the visitor can select in order to get access to the VendorDetails page.

<br>
<table id="VendorListTbl" width="200" border="0" cellspacing="0" cellpadding="0">
 <tr>
  <td><img src=../media/spacer.gif width="300" height="1"></td>
 </tr>
 <tr id="vendorListRow"> <td class="vendorListGreenBG" id="VendorNameCell">Vendor ...

Get Enhydra XMLC™ Java™ Presentation Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.