Aureole Posted October 8, 2007 Share Posted October 8, 2007 I gave my textarea a class then in the css I defined a font for that class to be used yet it isn't using that font... Just in case you want it, here's the code... #fastreply{ width:866px; height:150px; background-color:#242424; border:1px solid #2E6E98; font:Verdana; font-size:14px; font-weight:normal; padding:4px; color:#2593EB;} <input type="textarea" name="fastreply" tabindex="1" id="fastreply" /> Link to comment https://forums.phpfreaks.com/topic/72251-solved-textarea-font/ Share on other sites More sharing options...
AndyB Posted October 8, 2007 Share Posted October 8, 2007 font:Verdana; font-family: verdana, sans-serif; Link to comment https://forums.phpfreaks.com/topic/72251-solved-textarea-font/#findComment-364330 Share on other sites More sharing options...
Aureole Posted October 8, 2007 Author Share Posted October 8, 2007 Worked it out before you posted but thanks a lot anyway! Any idea why font doesn't work but font-family does? Just wondering. Link to comment https://forums.phpfreaks.com/topic/72251-solved-textarea-font/#findComment-364396 Share on other sites More sharing options...
AndyB Posted October 8, 2007 Share Posted October 8, 2007 Worked it out before you posted but thanks a lot anyway! Any idea why font doesn't work but font-family does? Just wondering. ... because one is part of the CSS standard declarations and the other isn't. Link to comment https://forums.phpfreaks.com/topic/72251-solved-textarea-font/#findComment-364700 Share on other sites More sharing options...
Aureole Posted October 9, 2007 Author Share Posted October 9, 2007 Alright just wondered, thanks a lot. Link to comment https://forums.phpfreaks.com/topic/72251-solved-textarea-font/#findComment-365208 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.