I'm new to CSS but I've been updating an old phps cript I wrote and wanted to use CSS as an external file to make changes to the text that the script echo's. I put the following CSS commands in a file and inserted the tag to call it in my PHP script. table.ss { background-color: #00ff00 } p.ss1x { color: #FF0000 } Code (markup): Now the table changes color with out any problems, but I'm unable to get the text to change color. I'm sure it has to be something very simple that I'm over looking. The PHP code looks like this. {echo" <FORM action=\"$path#discount\" style=\"display: inline\; margin: 0;\" method=\"post\"> <p class=\"ss1x\">$Promo_txt.<br><input type=\"text\" name=\"code\" size=\"8\"> <INPUT type=\"submit\" value=\"Recaulate\"> </p> </form>"; } mypaypal(); Code (markup): The source output is this. <table width=70% align=center><tr align=left><td><link rel="stylesheet" type="text/css" href="ss.css" /><table CELLPADDING=0 CELLSPACING=0 ><tr><td><A NAME="discount"></A> <FORM action="index.php#discount" style="display: inline\; margin: 0;" method="post"> <p class="ss1x">Promotional Code. (Optional).<br><input type="text" name="code" size="8"> <INPUT type="submit" value="Recaulate"> </p> </form> <table class= "ss"><tr><td> <form action="https://www.paypal.com/cgi-bin/webscr" style="display: inline\; margin: 0;" method="post" class=ss> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="myaddress@paypal.com"> <input type="hidden" name="item_name" value="Test script"> <input type="hidden" name="item_number" value="Test_s"> <input type="hidden" name="amount" value=".03"> <input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="return" value="http://repricing.com/test/ipn.php"> <input type="hidden" name="cancel_return" value="http://domain.com"> <input type="hidden" name="notify_url" value="http://repricing.com/test/ipn.php "> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="bn" value="PP-BuyNowBF"> <input type="image" src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PP.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"><br> <font size = 2 ><center> Current Price Only - $.03</center> </form> </td></tr></table> Code (markup): Thanks, Steve
I believe I found the problem it seems to be with the cashe. Even though I cleared it via browser it didn't work until I add the meta tag no cashe strange. Darn wrong again, I just found out it was my ftp program. I've been using it to make changes to the css file online. I just found out that the changes will not show in my browser until I shut down my ftp program completely weird. Steve