> Hi > > The code below exists in login.php > > ------------------ > echo html_tag( 'table', > html_tag( 'tr', > html_tag( 'td', > '<center>'. > ( (isset($hide_sm_attributions) && $hide_sm_attributions) > ? '' : > ------------------ > > I want to make the background of the table a color, lets say with a > hex value of 'DEDEDE'. > How would I go about this? > > The code below does work in Firefox (which seems more forgiving of > syntax errors) but breaks the page in IE6 and Opera 8.5 > > echo html_tag( 'table, bgcolor=DEDEDE',
http://www.squirrelmail.org/docs/phpdoc/squirrelmail/_functions_html_php.html#functionhtml_tag 1 error. You are using html attributes in function argument that should have only html element. 2 error. I think color code needs #. html_tag function is nested. Find code that closes your html_tag function. Color is set in fourth argument. -- Tomas ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] 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
