Thread: Text color on buttons
Results 1 to 6 of 6
04-17-2002, 03:26 AM #1
Text color on buttons
Seem to be stuck with Black text but would like White on a dark image.? The dark image is not a problem but cant get the value" text " to go white..
This is the button I am using, is this a good one to use for a link.?
<input type=button name=style="background-image:url(darkwood.jpg)" value=" Text " onClick="location='main.htm'">
Last edited by Glenvern; 04-17-2002 at 03:41 AM.Glenvern
04-17-2002, 03:58 PM #2
why don't u try using a style class on the text like you used a style object on the image?
04-17-2002, 04:38 PM #3
Heres the code for my patented 'furry' button.
<input type="button" name="test" value="MyText" style="background-color: black; color: white; font: 12pt verdana; border: 3px dotted black;">
(Disclaimer: only looks furry in IE5.5+!)
04-17-2002, 04:50 PM #4
to see how it works with your browser. It shows up as
white on black without any furry or other noticeable accoutrements with my IE 5.01.
04-17-2002, 05:10 PM #5
lol. Nicely put.
Notice the disclaimer, tho. 5.5+ only, I am afraid.
04-17-2002, 05:14 PM #6
Hey, even having the white on black is something!