50 users online (0 members and 50 guests)  


  Results 1 to 6 of 6

Related

  1. how do I change text color?    Forum: CSS Forum
    Replies: 1
  2. Css text color    Forum: CSS Forum
    Replies: 2
  3. CSS text color    Forum: CSS Forum
    Replies: 10
  4. Changing Color of Text Box Scroll Bar    Forum: HTML Forum
    Replies: 4
  5. Changing Text Box Scroll Bar Color    Forum: HTML Forum
    Replies: 1
  1. #1
    Glenvern's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Apr 2002
    Location
    Norfolk, UK.
    Posts
    112

    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'">

    Thanx Vern
    Last edited by Glenvern; 04-17-2002 at 03:41 AM.
    Glenvern

  2. #2
    Derek's Avatar
    Be Yourself

    Status
    Offline
    Join Date
    Aug 2001
    Location
    St. George, Utah, USA
    Posts
    466
    why don't u try using a style class on the text like you used a style object on the image?

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Heres the code for my patented 'furry' button.

    Code:
    <input type="button" name="test" value="MyText" 
    style="background-color: black; color: white; font: 12pt 
    verdana; border: 3px dotted black;">
    An example of what can be done using css.

    (Disclaimer: only looks furry in IE5.5+!)

    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  4. #4
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Go to

    http://test.lethisnakeatail.com

    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.

  5. #5
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    lol. Nicely put.

    Notice the disclaimer, tho. 5.5+ only, I am afraid.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  6. #6
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Hey, even having the white on black is something!



Tags for this Thread