[css] align to top

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
how can I using CSS align text in each <td> to be top-right ?

Right I can have using  text-align: top   but how to align verticaly?

Btw. why this property is name TEXT-align, while it aligns not only
text, but all content (including <img> <div> <span> etc) ?

:.  http://www.raf256.com/from-news .: ~~~~~~~l-.~~~~~~\ SSN 688
:.:.  Rafal (at) Raf256 (dot) com  .:.:    ____| ]____,  '--------
:.  :.      Rafal 'Raf256' Maj   .:  .: :-(     *      ) .   . _
:.:.:.:.        GG - 1175498   .:.:.:.:   ,"----------"  

Re: [css] align to top

Quoted text here. Click to load it

vertical-align: top;
text-align: right;

Quoted text here. Click to load it

No such thing.
See http://www.w3.org/TR/CSS2/text.html#propdef-text-align
Value:  left | right | center | justify | <string> | inherit

Quoted text here. Click to load it

In a <td>, by using vertical-align.
See http://www.w3.org/TR/CSS2/visudet.html#propdef-vertical-align

Quoted text here. Click to load it

Some browsers are buggy. It should only align inline content (so <img>
is aligned) not child blocks, though it will align the content of
those child blocks. See the above URI.


"My theories appal you, my heresies outrage you,
 I never answer letters and you don't like my tie."  - The Doctor

Site Timeline