[css-d] Text input height and CSS font size/family

2010-06-10 Thread Gabriele Romanato
Hope these tests will be useful: http://onwebdev.blogspot.com/2010/06/text-input-height-and-css-font.html HTH :-) Gabriele :-) http://www.css-zibaldone.com http://www.css-zibaldone.com/test/ (English) http://www.css-zibaldone.com/articles/ (English) http://onwebdev.blogspot.com/ (English)

Re: [css-d] Text input height and CSS font size/family

2010-06-10 Thread Lesley Binks
On 10 June 2010 09:44, Gabriele Romanato wrote: > Hope these tests will be useful: > http://onwebdev.blogspot.com/2010/06/text-input-height-and-css-font.html > > HTH :-) > > Gabriele :-) I may be misunderstanding the intent of these tests. ? 1. If you change the font family, you will most prob

Re: [css-d] Text input height and CSS font size/family

2010-06-10 Thread Gabriele Romanato
> So your tests highlight the input box adapts to font size and family? Nope. As the title of the tests say, only their _height_. For that reason I specified a width for the input elements. Input elements are inline-block elements. the problem you mentioned: Test label { font: 1em

Re: [css-d] Text input height and CSS font size/family

2010-06-10 Thread Tim Climis
On Thursday, June 10, 2010 6:19:42 am Gabriele Romanato wrote: > > So your tests highlight the input box adapts to font size and family? > > Nope. As the title of the tests say, only their _height_. I too am confused. When I take the "width: 150px" off your test cases, the widths of every one

Re: [css-d] Text input height and CSS font size/family

2010-06-10 Thread Thierry Koblentz
> So you don't get the same number of characters in each box, but you DO > get > different sizes (height AND width) with different font sizes and > families. > > And of course, if I specify a height on the inputs, the height of every > input > box is the same. > > So I don't understand what behav

Re: [css-d] Text input height and CSS font size/family

2010-06-10 Thread Jukka K. Korpela
Thierry Koblentz wrote: > It seems that font-size and font-family are not inherited by these > input fields, hence why she suggests to always specify a font size > and family for those. Browsers indeed generally have specific font-size and font-family defaults for text input fields. Conceptually

Re: [css-d] Text input height and CSS font size/family

2010-06-10 Thread Philippe Wittenbergh
On Jun 11, 2010, at 2:28 AM, Jukka K. Korpela wrote: > Browsers indeed generally have specific font-size and font-family defaults > for text input fields. Conceptually, such defaults are rules in browser's > default style sheet (in reasonably modern browsers), thus preventing any > inheritance