Results 1 to 3 of 3

Thread: Changing command buttons on HTML page

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Cool

    Don't worry, although I have posted loads last 2 days, think I know what I am doing now!

    • [1] Is there any way I can change the colour of my command button?
      [2] More complicated, but I will ask incase it's possible, can I have a "transparent" command button ?
      [3] Is there any performance increase with a file extension? i.e.- between *.htm, *.html, *.asp for example.


    Thank you for everyone's help here! Very much appriciated

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    To change the color of a button:
    Code:
    <INPUT type=button name=MyButton style="Width: 100px; background: red; color: blue" value=Colors>
    I don't believe you can make it transparent though.. best thing to do is create an imagemap instead of using an actual button.

    As for speed increases, htm & html files are the same and since they require no server processing other than to just send them through the html stream, they are faster than asp but only because of that.

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Talking Going for Guru status ...

    Wowsers, hey everyone, you can have transparent buttons on a web page (found by experimenting) Thank you to monte96 for the excellent pointers!

    Code:
    <INPUT NAME="About" TYPE="button" VALUE="ABOUT ME" style="HEIGHT: 35px; WIDTH: 149px; BORDER: 0; BACKGROUND=Transparent"

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

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



Click Here to Expand Forum to Full Width