Azu Posted December 21, 2006 Share Posted December 21, 2006 [code]<?php echo"<font color=blue>Why isn't this text blue in Firefox?</font>";?>[/code]It doesn't show up blue in [i]Firefox[/i] can someone please tell me how to fix this? Setting colors in CSS works but the above code doesn't :(And also how can I change the color of form buttons(such as the "Save" button when editing a post on this forum)? I can't even get the CSS to work for that..Here is the CSS that I am using right now[code]<!--ul ul{display:none}ul li{list-style-type:none;position:relative}ul li:hover ul, li.over ul{display:block;position:relative;left:-18%}li.sub>a{font-weight:bold;color:#00CCCC}#nav{position:absolute;top:0px;left:-3em;font-family:Arial,sa<leftmargin="0"topmargin="0"marginwidth="0"marginheight="0">ns-serif}--><tablewidth="0"border="0"align="center"cellpadding="0"cellspacing="0">html{overflow-x:hidden;overflow-y:auto}BODY{text-align:center;font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;color:#00CCCC;margin:0px11px0px11px;background-color:#000000}TABLE,TR,TD{font-family:Verdana,Tahoma,Arial,sans-serif;font-size:11px;color:#00CCCC}a:link,a:visited,a:active{text-decoration:none;color:#66FFFF}a:hover{color:#66FFFF;text-decoration:underline}[/code] Link to comment https://forums.phpfreaks.com/topic/31458-solved-php-coloring/ Share on other sites More sharing options...
Daniel0 Posted December 21, 2006 Share Posted December 21, 2006 It is blue when I run that code.To make a button another color use this: [code]<style type="text/css">input[type="button"], input[type="submit"], input[type="reset"], button{ background-color: red;}</style><input type="button" value="Red button" />[/code] Link to comment https://forums.phpfreaks.com/topic/31458-solved-php-coloring/#findComment-145737 Share on other sites More sharing options...
Azu Posted December 21, 2006 Author Share Posted December 21, 2006 Thanks, that helped a lot! ;DIt's still not quite what I had in mind though..It makes it look like this:[img]http://img225.imageshack.us/img225/1310/afn6.jpg[/img]What I am trying to achieve is this:[img]http://img213.imageshack.us/img213/4021/2gz8.jpg[/img]Any more help would be really appreciated.. Oh and the pictures are a bit distorted from the jpg compression but they should give you an idea :) I wish I could figure out why the font color tag isn't working for me in Firefox.. :( Link to comment https://forums.phpfreaks.com/topic/31458-solved-php-coloring/#findComment-145779 Share on other sites More sharing options...
Daniel0 Posted December 21, 2006 Share Posted December 21, 2006 [code]<style type="text/css">input[type="button"], input[type="submit"], input[type="reset"], button{ border-color: #7CB7B3; background-color: #000000; color: 7CB7B3;}</style><input type="button" value="Button" />[/code]This should achieve what you want. Link to comment https://forums.phpfreaks.com/topic/31458-solved-php-coloring/#findComment-146041 Share on other sites More sharing options...
Azu Posted December 23, 2006 Author Share Posted December 23, 2006 Thanks, it works :) Now I just gotta find a way to change the white input fields to black.. Link to comment https://forums.phpfreaks.com/topic/31458-solved-php-coloring/#findComment-146681 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.