SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Sep 6, 2001, 09:07 #1
- Join Date
- Aug 2000
- Location
- New York , USA
- Posts
- 407
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
How can I use Style code to get this form button to look differently??
Hello,
Please take a look at this page.
I want to make the text on the form button white. In the code they use a "style" element to make the background color of the form button. Can I do something like this to make the text white??
The code snippet involved is below,
Code:<input type=submit value="Take the quiz now!" style="background-color: #306898; font-family: Arial">
WPWebbing Along!!!
-
Sep 6, 2001, 09:26 #2
- Join Date
- Jul 2001
- Location
- Scotland
- Posts
- 4,836
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
use the code below to make the text white
Code:<input type=submit value="Take the quiz now!" style="background-color: #306898; font-family: Arial; color: #FFFFFF;">
-
Sep 6, 2001, 10:29 #3
- Join Date
- May 2001
- Location
- hong kong
- Posts
- 214
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I refer to the same question
if imput button is replaced by a.gif
how style can force a.gif fill all the button field.
weiring..
-
Sep 6, 2001, 10:47 #4
- Join Date
- Aug 2000
- Location
- New York , USA
- Posts
- 407
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally posted by dhtmlgod
use the code below to make the text white
Code:<input type=submit value="Take the quiz now!" style="background-color: #306898; font-family: Arial; color: #FFFFFF;">
I had to mess with some perl code a bit but based on your response I was able to figure out where to place the code.
Take a look at the page again. The text on the form button is now white and visible.
Thanks again,
WPWebbing Along!!!
Bookmarks