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

Posted by David Dorward on 11/13/59 11:19

tshad wrote:

> 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.

See http://www.w3.org/TR/CSS21/cascade.html#q13

"The UA may choose to honor presentational attributes in an HTML source
document. If so, these attributes are translated to the corresponding CSS
rules with specificity equal to 0, and are treated as if they were inserted
at the start of the author style sheet. They may therefore be overridden by
subsequent style sheet rules."

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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