J
Joshua Beall
Hi All,
Normally when you want to change the behavior of a tag via CSS, you just
declare something like this:
H1 { border: 1px solid #C0C0C0; }
Now all <h1></h1> blocks should have a silver solid border around them.
But, what if I want to modify the default look of a form element, such as
the submit button or a textfield? These are specified by <input
type="submit"> or <input type="text">, respectively, so they do not have a 1
to 1 mapping to a tag... so I am unsure how to change the look of only one
type of input via CSS.
Is there a way to do this without having to specify <input class='text'
type='test'> (e.g., without having to change all the <input> tags)?
Thanks,
-Josh
Normally when you want to change the behavior of a tag via CSS, you just
declare something like this:
H1 { border: 1px solid #C0C0C0; }
Now all <h1></h1> blocks should have a silver solid border around them.
But, what if I want to modify the default look of a form element, such as
the submit button or a textfield? These are specified by <input
type="submit"> or <input type="text">, respectively, so they do not have a 1
to 1 mapping to a tag... so I am unsure how to change the look of only one
type of input via CSS.
Is there a way to do this without having to specify <input class='text'
type='test'> (e.g., without having to change all the <input> tags)?
Thanks,
-Josh