|
-
Jan 5th, 2005, 04:41 PM
#1
Thread Starter
Member
Buttons on HTML
HTML: How are you able to change the color of buttons, not using pictures, or is that impossible?
View the Msquared Technologies Web site.
Every rule has an exception - including that one.
How can a house burn up if its burning down
Learn HTML in 1 day!
-
Jan 6th, 2005, 01:07 PM
#2
Frenzied Member
Re: Buttons on HTML
You can use CSS:
Code:
<style type="text/css">
textarea,input {
color:#000080;
font-size: 11px;
background-color: #FFFDF7;
border-color: #4F2700;
border: dashed;
border-width: 1px;
}
</style>
Edit: To use that CSS, put it within the head section of the document. If you only want to change certain buttons, then use classes instead.
Have I helped you? Please Rate my posts. 
-
Jan 6th, 2005, 04:54 PM
#3
Thread Starter
Member
Re: Buttons on HTML
Thanx! Whats the code for the classes?
View the Msquared Technologies Web site.
Every rule has an exception - including that one.
How can a house burn up if its burning down
Learn HTML in 1 day!
-
Jan 6th, 2005, 05:51 PM
#4
Junior Member
Re: Buttons on HTML
I think he means using the class attribute in the button tag. like
input.green{
color: green;
//and whatever css code
}
and then use this tag:
<input class="green">
I don't know if the tag is input or whatever but you should know, that doesn't matter, the thing is the class is green, and you define that with css by using a "." before the classname. That's good to use because than you can use different style on just one or more buttons, and another style on some other buttons...
-
Jan 6th, 2005, 07:15 PM
#5
Thread Starter
Member
Re: Buttons on HTML
oh, thanx
View the Msquared Technologies Web site.
Every rule has an exception - including that one.
How can a house burn up if its burning down
Learn HTML in 1 day!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|