Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-12-14 10:36:02
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
firefox and smaller font size in textarea
why in this page firefox 2.0.011 displays font size in textarea smaller than in input fields? I just don’t get it…
Offline
Re: firefox and smaller font size in textarea
If you delete font-size: 1.0em;
from
input, textarea, select{
background-color:#DBA998;
margin: 2px 1px;
padding: 1px;
font-size: 1.0em;
color:#672434;
line-height: 1.125em;
border: 1px solid #672434;
width: 150px;
}
I think that all will show as you intend it.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: firefox and smaller font size in textarea
I think you will also find that it is because you haven’t been specific with you CSS selectors relating to the textareas. For the comment form you use:-
#txpCommentInputForm input, textarea
and then for the contact form you use:-
input, textarea, select
Be more specific using something like:-
#txpCommentInputForm textarea
and .zemContactForm input, .zemContactForm textarea, .zemContactForm select
Last edited by thebombsite (2007-12-14 13:08:58)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: firefox and smaller font size in textarea
Textareas also require font been set them differently, as the <code>
and <pre>
also require. And, so we get:
textarea {
font: 1em Tahoma, Verdana, "Lucida Grande";
}
colak wrote:
If you delete
font-size: 1.0em;
No, actually the text is same sized, as in input-fields, but the font is different – browser’s default in other words.
Cheers!
Last edited by Gocom (2007-12-14 13:59:38)
Offline
#5 2007-12-15 10:11:10
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: firefox and smaller font size in textarea
Gocom wrote:
Textareas also require font been set them differently
solved. many thank’s jukka and stuart, both of you have helped me a lot in recent times.
and stuart: i set the css selectors more specificly
Offline