DeathStar Posted December 9, 2006 Share Posted December 9, 2006 I want to make a text box be grayish.normaly its white is there any way todo it?in header.php this is it for text color[code]textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12;color: #000000; }[/code]But the text box bgcolor is it something with style=.... ? or what? Quote Link to comment https://forums.phpfreaks.com/topic/30020-textarea-color/ Share on other sites More sharing options...
walkonet Posted December 9, 2006 Share Posted December 9, 2006 did you add the # to textarea style? i.e #textarea or .textarea? and the color is set to black? (#000000) try #333333 or grey... Quote Link to comment https://forums.phpfreaks.com/topic/30020-textarea-color/#findComment-138009 Share on other sites More sharing options...
AndyB Posted December 9, 2006 Share Posted December 9, 2006 textarea { font-family:helvetica, arial, geneva, sans-serif; font-size:12px;color: #000000; background-color:#e7e7e7; } Quote Link to comment https://forums.phpfreaks.com/topic/30020-textarea-color/#findComment-138011 Share on other sites More sharing options...
wildteen88 Posted December 9, 2006 Share Posted December 9, 2006 Just add the background-color to the style:textarea { font-family:helvetica, arial, geneva, sans-serif;font-size:12;color: #000000;background-color:#e1e1e1; }that will give the textarea a very light grey background.Also this is a HTML/CSS issue so I am moving this to the CSS forum. Quote Link to comment https://forums.phpfreaks.com/topic/30020-textarea-color/#findComment-138012 Share on other sites More sharing options...
DeathStar Posted December 9, 2006 Author Share Posted December 9, 2006 Thanx that helped ;) Quote Link to comment https://forums.phpfreaks.com/topic/30020-textarea-color/#findComment-138014 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.