swright Posted January 19, 2012 Share Posted January 19, 2012 Hi, i have code which is included to a website i run. It shows fine on a dark back ground on all browsers apart from IE8 or lower. On these browsers the box and button show on a white box instead of a dark box. (inserted on page via Iframe) Is there a way to set the background to a certain color? <? session_start(); require_once("config.php"); if($_GET["action"] == "subscribe") { $fp = fopen("$db_file", "r"); $file_text = fread($fp, 999999); fclose($fp); $subscribers = explode(",",$file_text); foreach($subscribers as $subscriber) { if($subscriber == $_GET["email"]) { $result = 1; break; } else { $result = 0; } } if($result == 1) { print "The email you provided alreay exists. <a href='javascript:history.back(-1)'>please try again</a>"; } else { $fp = fopen("$db_file", "a+"); fwrite($fp, $_GET["email"] . ","); fclose($fp); print "<font face=arial size=2 color=white>Subscribed successfully.</font>"; } } print " <form action='includethis.php'> <input type='text' name='email' size='26' value='Enter your email' onfocus=\"this.value=''\"> <input type='submit' value='Subscribe'> <input type='hidden' name='action' value='subscribe'> </form> "; ?> Any help would be much appreciated Ste Quote Link to comment Share on other sites More sharing options...
swright Posted January 19, 2012 Author Share Posted January 19, 2012 <iframe src="newsletter/includethis.php" frameborder="0" width="220" height="200" style="border:0px solid #CCCCCC"></iframe> Quote Link to comment 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.