Jump to content

Recommended Posts

[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

Thanks, that helped a lot!  ;D

It'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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.