• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 301
  • Last Modified:

Button Color

What would be the proper coding to add color to a button and its text in a line like the following.

<input type=button value="MY WEBSITE and CAMERA 1" onClick="goToURL()">

BobH
0
BOBH
Asked:
BOBH
1 Solution
 
Squew01Commented:
Use this code:

<style>
.button{
   color:'white';
   font-size:small;
   font-family:"Arial";
   font-weight:bold;
   background-color:#006699;
}
</style>

<input type=button value="MY WEBSITE and CAMERA 1" onClick="goToURL()" class="button">

/squew/
0
 
BOBHAuthor Commented:
Stormy waters :

        TNX for the urls. Very interesting and may keep in favorites

Squew01:

        Code works perfectly and will use it TNX

BobH
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now