Visualanté Posted February 24, 2007 Share Posted February 24, 2007 web page in php has no background color in firefox...help Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/ Share on other sites More sharing options...
wildteen88 Posted February 24, 2007 Share Posted February 24, 2007 How are you applying the background? Using html bgcolor attribute or CSS background element? Need more info. Post some code too. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193044 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 i made a php template page in dream weaver and used bkg color code// <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <!-- TemplateBeginEditable name="doctitle" --> <title>The Mortgage Exchange, LLC</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> </head> <body bgcolor="B1BEA4"> <!--url's used in the movie--> <a href="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/glossary.swf"></a> <!--text used in the movie--> <!-- saved from url=(0013)about:internet --> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="233"> <param name="movie" value="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/sitetop.swf"> <param name="quality" value="high"> <embed src="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/sitetop.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="233"></embed> </object></td> </tr> <tr> <td><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="250"><div align="right"> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="700"> <param name="movie" value="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/leftmenu.swf"> <param name="quality" value="high"> <embed src="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/leftmenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="700"></embed> </object> </div></td> <td width="550"><!-- TemplateBeginEditable name="EditRegion3" --> <!-- TemplateEndEditable --></td> </tr> </table></td> </tr> <tr> <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="67"> <param name="movie" value="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/sitebottem.swf"> <param name="quality" value="high"> <embed src="file:///Macintosh HD/Users/scottmenzel/Desktop/mm/sitebottem.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="67"></embed> </object></td> </tr> </table> </body> </html> //code Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193086 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 oops this code// <?php $active = ""; //valid params: home, about, services, news, gallery, contact $title = ""; include("includes/ME_fn.php"); heading($active, $title); ?> <div class="content"> <div class="content_lt_top"> <div class="content_lt"> <? shownews(); ?> </div> </div> <? include("includes/detectbrowser.php"); $a_browser_data = browser_detection('browser'); if ( !($a_browser_data == 'ie') ) { ?> <div class="content_rt" style="height: 1px; background-color: #FFF; border: none; margin: 0px;"> </div> <? } ?> <? //content_r("$bodytext"); //content_r("Here is some <a href=\"#\">linked content</a> to display."); ?> </div> <? closing(); ?> //code Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193092 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 this is the template disregard last two code// <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <!-- TemplateBeginEditable name="doctitle" --> <title>The Mortgage Exchnge, LLC</title> <!-- TemplateEndEditable --> <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable --> </head> <body bgcolor="B1BEA3"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="233"> <param name="movie" value="../sitetop.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent"> <embed src="../sitetop.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="233"></embed> </object></td> </tr> <tr> <td><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="250" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="700"> <param name="movie" value="../leftmenu.swf" /> <param name="quality" value="high" /> <embed src="../leftmenu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="700"></embed> </object></td> <td width="550" valign="top" bgcolor="#B1BEA3"><!-- TemplateBeginEditable name="EditRegion3" --> <!-- TemplateEndEditable --></td> </tr> </table></td> </tr> <tr> <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="67"> <param name="movie" value="../sitebottem.swf" /> <param name="quality" value="high" /> <embed src="../sitebottem.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="67"></embed> </object></td> </tr> </table> </body> </html> //code Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193095 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Well #FFF isn't a color... Did you want Blue? If so then #000FFF. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193098 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 <body bgcolor="B1BEA3"> to <body bgcolor="#B1BEA3"> Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193099 Share on other sites More sharing options...
magic2goodil Posted February 24, 2007 Share Posted February 24, 2007 Well #FFF isn't a color... Actually it is, it is white. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193100 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 No #FFFFFF is white.. #FFF is an invalid color. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193104 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 can i ask, what is the advantage of a php page as apposed to html Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193108 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Nothing if your not using it to extract data from a database or to minipulate or code working objects into a page. If your just making pages with layouts then PHP isn't going to do anything for you. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193112 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 but for future database expansion in php it can be added? color issue resolved with # added.....its funny on safari it was ok Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193118 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Firefox is more strict about codes.. While others are relaxed on them and read color codes without # in from of them which is wrong based on W3C guidlines.. The # is there for a reason. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193121 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 but for future database expansion, if its in php, can it be added in? Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193123 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Most certianly! Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193124 Share on other sites More sharing options...
Visualanté Posted February 24, 2007 Author Share Posted February 24, 2007 do i add code to the master template Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193127 Share on other sites More sharing options...
TRI0N Posted February 24, 2007 Share Posted February 24, 2007 Add code? What code? But later you might want to add it to mater temple if you had code to add. Quote Link to comment https://forums.phpfreaks.com/topic/39941-web-page-in-php-has-no-background-color-in-firefox/#findComment-193163 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.