...

View Full Version : Boxes color/ I'm dazed



awsomejoe23
04-10-2007, 05:47 AM
OK I installed a javascript for a faq page. I have been able to get all the colors and sizes right until just about now. I can't get the boxes that display the answers and questions to turn from white to my greyish color, or the font inside it.
Heres the code

<center>
<form name=faqform>
<table border=1 cellspacing=0 cellpadding=5>
<tr bgcolor="#444444">
<td align=center><font face="verdana,arial" size="-1" color="C4C4C4">
<b><font color="#C4C4C4">Coders World</font></b></font></td>
</tr>
<tr bgcolor="#383838"><td><font face="verdana,arial" size="-1" color="#C4C4C4"><br>
Browse the Frequently Asked Questions below and click for the answer.
<p>
<ul><select size=5 name=question onChange="javascript:showFAQ(this.form);">
<option value="Look at the Announcement in coders forum. ">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;How do I sign up to be a team member?
<option value="Yes, as long as you are willing to learn. We will always need help with the small things as well as the big things.">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;I have a very limited knowledge of computer programing. Can I still sign up?
<option value="Any regular member of coders forum is eligible to receive out programs for free.">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;How do I obtain one of the coding teams programs?
<option value="You can join the coding team and help us produce programs, or just spread the word and invite your friends. ">&nbsp;&nbsp;&nbsp;-->&nbsp;&nbsp;I really enjoy coders forum and want to help out. How can I?
</select>
</ul>
<p>
And Their Answers:
<p>
<ul>
<textarea name="answer" rows=5 cols=40 wrap=virtual></textarea>
</ul>
</font>
</td>
</tr>
</table>
</form>
</center>

I can't get the black font inside the white boxes to change colors, or the box itself. Any suggestions?

Thanks,


Joe

ronaldb66
04-10-2007, 08:23 AM
You are strongly recommended not to use the outdated font element and presentational attributes, but to resort to using Cascading Style Sheets (CSS).

Here are some tutorials on CSS (http://www.htmldog.com/guides/); here are the specs regarding font (http://www.w3.org/TR/CSS21/fonts.html) and color (http://www.w3.org/TR/CSS21/colors.html) settings.
You probably might want to know a bit about how to apply CSS rules to your question and answer boxes as well; selectors (http://css.maxdesign.com.au/selectutorial/) are the name of the game.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum