You are here: text-align vs align « HTML « IT news, forums, messages
text-align vs align

Posted by tshad on 10/10/08 11:19

I am curious about using align="right" vs style="text-align:right".

I have set up styles to left justify my <td> tags (because of a problem with
having to using loose.dtd).

I have some <td> tags that I need to right justify and I assume that
align=right on specific tags would override the style. The problem was it
didn't. I did find that using style="text-align:right" would override the
style.

http://www.payrollworkshop.com/samples/testalignright1.htm
http://www.payrollworkshop.com/samples/testalignright2.htm

Why is that?

I had used style="vertical-align:top" before and was mentioned that it would
be better to use the valign=top.

What is the difference here?

Thanks,

Tom

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация