Results 1 to 2 of 2

Thread: Script not working after adding color to button

  1. #1
    Join Date
    Aug 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script not working after adding color to button

    Good morning.

    I am using a print page button on a page but want it to be blue. When I add the color tag to the code the script quits working. How can I make this work?

    <input type=button value="Print this Page" style="background:6699CC; color:#000000" name="Print" onClick="printit()>

    Thanks,

    Lisa

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'll just correct the obvious mistakes as I don't have a link to your code.

    <input type="button" value="Print this Page" style="background:#6699CC; color:#000000" name="Print" onClick="printit();">

    See if that helps.

    cr3
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •