Forum Moderators: not2easy
I simply need:
Product Name ¦ Product Description ¦ Product Price
Obviously this is easy in a table:
<table>
<my_Loop>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</my_Loop>
</table>
However, I would like to see if this is possible using CSS alone. Right about now I am doubting it. Everything I am trying is turning up a little odd.
<my_Loop>
<div id="container">
<div id="center">price</div>
<div id="leftRail">name</div>
<div id="rightRail">descr</div>
</div>
</my_Loop>
I am positioning each of the above elements and things are reacting rather funny (not to mention the validation issues). Can anyone point out a decent method to handle this in CSS?
Thanks,
roblaw
I was trying to keep with the completely CSS style of the site and couldn't figure out a method using CSS. Guess I will go ahead with the tried and true.
I think the point everyone is trying to make is that CSS and tables aren't mutually exclusive - you can find lots of ways to prettily style a table using CSS.
When you are structuring tabular data not as a table, taking it out of the semantic structure it should be in, you're doing something tantamount to those that do use tables for non-tabular data. Which is to say, semantically bad.
Let me put it another way - without CSS on a CSS-Presented website, the document falls into neatly-structured content.
How would tabular data in a table look without CSS? Logical, neatly-structured content.
How would tabular data that wasn't in a table look without CSS? Would it still make sense?