You can only use the pseudo-class hover on an a-tag like this .featuredmags a:hover { background: #aaa; color: #fff }
// Sebastian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nooluyo? Sent: 20. maj 2006 17:34 To: css-d@lists.css-discuss.org Subject: [css-d] using css for hover like effects Hi, I've currently have a semi css, semi table layout. i want to convert everything to css, so there are some tables to be cleaned out. one of them starts like: <table width="110" height="148" border="0" cellpadding="0" cellspacing="0" class="featuredmags" onmouseover="this.style.backgroundColor='#6699ff';" onmouseout="this.style.backgroundColor=''"> it's used for a mouseover color change of the table. is this possible via css? thanks, alp ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/