Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 10-31-2006, 10:15 PM Change color of form
lunchbox170's Avatar
Extreme Talker

Posts: 151
Name: Ben
Trades: 0
I have a comment form, and I want to change the input box color. So instead of white it is a different color. here is the code, how do i do that.

Code:
<table border="0" width="370" cellspacing="0" cellpadding="0">
    <tr>
      <td width="60">Name:</td>
      <td><input type="text" name="name"></td>
    </tr>
    <tr>
      <td>E-mail:</td>
      <td><input type="text" name="mail"> (optional)</td>
    </tr>
    <tr>
      <td colspan="2">
      <textarea cols="40" rows="6" id=commentsbox name="comments"></textarea><br />
      <input type="submit" name="submit" value="Add My Comment">
      <input type=checkbox name=CNremember  id=CNremember value=1><label for=CNremember> Remember Me</label> |
  <a href="javascript:CNforget();">Forget Me</a>
      </td>
    </tr>
  </table>
  <br />
  <a href="/index.php">Back to Dot Tech</a>
Thanks
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
lunchbox170 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-01-2006, 07:02 AM Re: Change color of form
Skilled Talker

Posts: 94
Trades: 0
im not 100% sure, but ill be glad to give my input, though it probably isnt right :> you cant change the color in the html form because the commands "bg-color/background-color" doesnt work, so you would have to add a Style sheet to it to change the color of the background and scroll bar etc.
hellhound121 is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 10:15 AM Re: Change color of form
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Actually, you are right. It would have to be done with CSS.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 03:59 PM Re: Change color of form
lunchbox170's Avatar
Extreme Talker

Posts: 151
Name: Ben
Trades: 0
So what would the selector be for the input boxes.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
lunchbox170 is offline
Reply With Quote
View Public Profile
 
Old 11-01-2006, 07:51 PM Re: Change color of form
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
http://www.cssplay.co.uk/menu/form.html

http://www.alistapart.com/articles/p...ccessibleforms
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Change color of form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.11555 seconds with 12 queries