On 2/27/07, Yong Woo Rhee <ywrhee@xxxxxxxxx> wrote: > > Hi, > > I'm trying to include a stylesheet in a email that I want to send out so > that when user clicks on the link it will change the background color of the > email to yellow. > > Following is what I pushed through to test but won't work. > Is the email client disabling this? Probably, depending on what client it is. > I originally tried javascript but since > I can't push javascript through I'm trying to do it with css. This is a bad idea. You desired functionality belongs in a web page, not in an email. Send a link to a web page instead. > I'd really appreciates some help. > Thank you. > > <html> > <head> > <title>Dynamic Background Change</title> > > <style type="text/css"> > <!-- > .on { > color: red; > background-color: yellow; > layer-background-color: yellow;} > --> > </style> > > </head> > > <body> > <table> > <tr><td onclick="this.className='on'"><a href="http://yahoo.com" > target="_blank">Change bgcolor upon click</a></td></tr></table> > </body> > </html> > > > > > Best Regards, > > Yong Woo Rhee > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users