Trek15 Posted April 30, 2010 Share Posted April 30, 2010 I'm working with a php document in which i have made a few lines of text within some regular HTML font-color tags and all browsers except all versions of IE displays that color. Is this due to the PHP document or something? I have no idea what to do or try here so i hope that you perhaps can help me find the problem by asking me what to check for or something. Quote Link to comment https://forums.phpfreaks.com/topic/200297-not-working-in-interner-explorer-oo/ Share on other sites More sharing options...
F1Fan Posted April 30, 2010 Share Posted April 30, 2010 Please show your code. Quote Link to comment https://forums.phpfreaks.com/topic/200297-not-working-in-interner-explorer-oo/#findComment-1051144 Share on other sites More sharing options...
Trek15 Posted April 30, 2010 Author Share Posted April 30, 2010 Not really my code but here's the head and some more of the index.php document. The line at the very bottom is an example that doesn't work in IE for some reason. (The color of that font is still black) ########################################################################## */ // important data include include("_mysql.php"); include("_settings.php"); include("_functions.php"); $_language->read_module('index'); $index_language = $_language->module; // end important data include ?> <!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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta name="description" content="Clanpage using webSPELL 4 CMS" /> <meta name="author" content="webspell.org" /> <meta name="keywords" content="webspell, webspell4, clan, cms" /> <meta name="copyright" content="Copyright © 2005 - 2009 by webspell.org" /> <meta name="generator" content="webSPELL" /> <!-- Head & Title include --> <title><?php echo PAGETITLE; ?></title> <link href="_stylesheet.css" rel="stylesheet" type="text/css" /> <link href="tmp/rss.xml" rel="alternate" type="application/rss+xml" title="<?php echo getinput($myclanname); ?> - RSS Feed" /> <script src="js/bbcode.js" language="jscript" type="text/javascript"></script> <!-- end Head & Title include --> <!-- standard Design stylesheet --> <style type="text/css"> body { margin: 5px 0 10px 0; padding: 0; font: 10px Verdana, Arial, Tahoma, Helvetica, sans-serif; color: #000000; background-image: url(images/bg.gif); } div#container { width: 1000px; margin: 0 auto; padding: 0; text-align: left; } div#head { width: 1000px; height: 12px; background-color: #AA3333; } div#content { width: 1000px; margin: 0; background-color: #333333; } div#content .cols { float: left; width: 800px; } div#content .col1 { float: left; width: 200px; border-right: 1px solid #C60; } div#content .col2 { margin-left: 200px; text-align: justify; } div#content .col3 { margin-left: 800px; border-left: 1px solid #C60; } div#footer { clear: both; height: 50px; width: 1000px; text-align: center; background-color: #666 } hr.grey { height: 1px; background-color: #C60; color: #C60; border: none; margin: 10px 0 4px 0; } .nav { color: #36befc; font-weight: bold; } </style> <!--[if IE]> <style type="text/css"> div#content .col2 { width: 74%; } div#content .col3 { width: 19%; } hr.grey { margin: 3px 0 3px 0; } </style> <![endif]--> <!--[if lte IE 7]> <style type="text/css"> hr.grey { margin: 3px 0 -3px 0; } </style> <![endif]--> <!--[if gte IE 8]> <style type="text/css"> hr.grey { margin: 3px 0 3px 0;} </style> <![endif]--> <!-- end standard Design stylesheet --> </head> <body> <div id="container"> <div id="head"></div> <div id="content"> <div class="cols"> <div class="col1"> <div style="padding:10px;"> <!-- clanname --> <span style="font-size:19px;"><font color="#F00">« <?php echo $myclanname ?> »</font></span> <!-- end clanname --> <!-- quicksearch include --> <?php /*?><?php include("quicksearch.php"); ?><br style="line-height:1px;" /><?php */?> <!-- end clanname --> <br /><br /> <!-- articles include --> <?php /*?><b><?php echo $myclanname.".".$index_language['articles']; ?></b><br /> <?php include("sc_articles.php"); ?><?php */?> <!-- end articles include --> <!--<hr class="grey" />--> <!-- upcoming events include --> <b><font color="#DDD">Upcoming Events:</font></b><br /> Quote Link to comment https://forums.phpfreaks.com/topic/200297-not-working-in-interner-explorer-oo/#findComment-1051147 Share on other sites More sharing options...
F1Fan Posted April 30, 2010 Share Posted April 30, 2010 Try using the more widely accepted 6-digit hex color code. So, rather than this: <font color="#DDD">Upcoming Events:</font> Do this: <font color="#DDDDDD">Upcoming Events:</font> I'm not positive that #DDD is the equivalent to #DDDDDD, but you get the idea. Quote Link to comment https://forums.phpfreaks.com/topic/200297-not-working-in-interner-explorer-oo/#findComment-1051152 Share on other sites More sharing options...
Trek15 Posted April 30, 2010 Author Share Posted April 30, 2010 Try using the more widely accepted 6-digit hex color code. So, rather than this: Ha, that actually did it. I can't believe IE don't even accept this. Thanks buddy! Quote Link to comment https://forums.phpfreaks.com/topic/200297-not-working-in-interner-explorer-oo/#findComment-1051153 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.