Previous Message
Next Message

Aligning Vertical Elements

Sent by Maximillian Schwanekamp on 14 February 2005 20:08


Pam Sexton wrote:
> What I'm attempting to do is create a recipe where the ingredients will line up vertically.  I'm
reworking a table layout, where I had three td cells in a tr, and the alignment is perfect.  I would
prefer to use an ul, much simpler. 
  I can achieve everything I want in the recipe, except for the 
alignment problem with; i.e.,
> 8   tbsp   BUTTER,WITHOUT SALT   
<snip />

I would argue that the recipe ingredients block is tabular data, so it 
should be marked up as such.  You can easily put headers on that and it 
makes sense (the last two columns could be combined):

Qty   Unit   Ingredient   Comments
  8    tbsp   BUTTER       WITHOUT SALT

Then, the steps for using that data, i.e. the ingredients, would be 
marked up as an OL and styled accordingly.

For text-transform in your CSS rule, do you have a URL for the page to 
look at?


-- 
Maximillian Von Schwanekamp
http://www.neptunewebworks.com/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: