Previous Message
Next Message

Aligning Vertical Elements

Sent by Pam Sexton on 14 February 2005 19:07


Hello.

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   
4   large   EGG,WHOLE,RAW,FRESH   
1   large   EGG,YOLK,RAW,FRSH   
1   tsp   VANILLA EXTRACT   
1/2   tsp   SALT,TABLE   
1/2   cup   SUGARS,GRANULATED   
1/4   cup   WHEAT FLR,WHITE,ALL-PURPOSE,ENR,BLEACHED 

where nothing is aligned on the vertical.  My table layout has vertical alignment of the
measurements and vertical alignment of the ingredients.  Is this possible to do with css?  I'm
pulling the information from a database.  The order has to conform with a standard for recipe data
entry (so I can't use scripting to define a particular display order like whole numbers vs
fractions and lengths of measurement).  Maybe for this I should stick with a table layout for
presentation?  I'm stumped....

Also, the text-transform: capitalize isn't working on the description field for the ingredients, in
any browser.  Does anyone have any idea why?

TIA, Pam
______________________________________________________________________
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: