SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2002
    Location
    Scotland, UK
    Posts
    530
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Setting a file upload Browse box's colour

    How do I set the background colour of an upload form's Browse button?

    For example on Sitepoint while I'm writing this there is a Browse button down the page but it has a grey background, whereas the "Submit New Topic" box has a blue background.

    Thanks

  2. #2
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can't change this item. It's an inherent part of specifying UPLOAD as your FORM item.

    Sorry.
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  3. #3
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you may be able to smudge it with javascript if you want to use an image as well. Use this: (mileage may vary based on browsers)
    Code:
    <input type="file" name="upload" style="display: none;" />
    <img src="whatever.gif" name="browse" onclick="document.all.upload.click();" />
    Good luck,

    Sketch
    Aaron Brazell
    Technosailor




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
  •