Reply to Re: Question about CSS

Your name:

Reply:


Posted by Jonathan N. Little on 09/12/07 13:37

Sonnich Jensen wrote:

> The "aa" is my idea, it is for a clickable table, which works well -
> idea: the entire row should change from red to blue when clicked.


In addition to what the others have said, CSS is not programming
language so it really does not have events. If you want change as a
result of a "click" then your solution would require JavaScript. CSS
does have a pseudo-class that blurs the line here by trapping the mouse
hovers and focus events, but is limited to that and support is spotty.
MSIE only supports the :hover pseudo-class on links, A elements with the
HREF attribute. So it would not work on a table cell.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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