We were recently asked by another designer how they might go about creating a menu list of products without using tables. This can ba a tricky task as browsers do not render certain attributes of div tags the same. Here is the way it looks and the code to produce it.
The StyleSheets:
DIV.parent {width:auto; padding:5px; color:#333333; text-align:left;}
DIV.div1test {width:350px; float:left; margin-right:5px; background-color:#cccc33; text-align:left;}
DIV.div2test {text-align:left;}
The HTML Code:
For each menu line item do the following:
<div class="parent">
<div class="div1test">
Product Name
</div;>
<div class="div2test">
Price
</div>
</div>