How can you use CSS to alter the size of the text in a <input> or <select> field?input{
font-size = 11px;
}input {
font-size: 11px;
}
this works better.
Can you have half a font size. i know im being silly but 11px to small and 12px to big?!!!
If so, how?You shouldn't use px. Use em instead. "px" is the smallest unit; you can't have part of one.
font-size = 11px;
}input {
font-size: 11px;
}
this works better.
Can you have half a font size. i know im being silly but 11px to small and 12px to big?!!!
If so, how?You shouldn't use px. Use em instead. "px" is the smallest unit; you can't have part of one.