![]() | |
![]() |
| | Thread Tools | Display Modes |
#31
| |||
| |||
|
|
This reveals you know nothing about testing. Your statement is bad manners [...] You started it. |
|
You can tell that a span is display: inline very easily. Actually, this depends on the context. At last something of what I have been trying to explain seems to have sunk in! |
#32
| |||
| |||
|
|
Ben C wrote: This reveals you know nothing about testing. Your statement is bad manners [...] You started it. At this point I need to ask you to keep using the same forged sender identity until you get both a clue and some manners. |
|
You can tell that a span is display: inline very easily. Actually, this depends on the context. At last something of what I have been trying to explain seems to have sunk in! I don't see any point in trying to explain anything to you, in this issue at least, since you seem to gladly accept a point that proves your whole approach wrong, yet you claim it as a victory. The initial values do _not_ depend on context. |
#33
| |||
| |||
|
|
[Jukka K. Korpela:] More importantly, testing the effects of properties on SPAN reveals you nothing about initial values. If you set a property for it, you override any initial value. This reveals you know nothing about testing. Your statement is bad manners [...] You started it. |
#34
| |||
| |||
|
|
Ben C: [Jukka K. Korpela:] More importantly, testing the effects of properties on SPAN reveals you nothing about initial values. If you set a property for it, you override any initial value. This reveals you know nothing about testing. Your statement is bad manners [...] You started it. I think when Yucca wrote "reveals you nothing" he meant "tells you nothing" not "reveals you [know] nothing". |
#35
| |||||||||||||
| |||||||||||||
|
|
If you want to think of initial values as coming from a fictitious sheet, which you can if you like, |
|
My motive is to get away from such a variable as "normal", to cash its value! |
|
In this sheet, there would simply be body {line-height: 1.2;} |
|
The point of the 'useful fiction' is to not worry where values are coming from, they are what actually confronts the website maker. |
|
The master sheet will be different for every browser but not that different. Although you and he might not know it, when JK says words to the effect that line-height is set too small..., this in effect means that in most browsers, the master sheet is giving too much below 1.3 to be comfortable with some popular fonts. |
|
So override with at least 1.3 in author sheet. Simple enough. Try working all this out in terms of what exactly it is in each browser that sets 1.2 when it comes brand new out of the box. No thanks, would say the practical website designer. OK, but it's worth clarifying what the spec means when it talks about "initial values". |
|
This is an excellent point and I am not meaning to dispute it. |
|
We recommend a used value for 'normal' between 1.0 to 1.2). Between indeed! It is either 1.bloody2 or not for the practical website maker! <g |
|
To me this sounds like the master CSS sheet contains the initial values. Yes, indeed, that is the idea. |
|
For example, if you wake up in the middle of the night in a bad sweat thinking your browser makes child divs of divs inline, you can easily test that this is not so by div div {display: block} and seeing if anything at all changes on the pages you might have had in mind as examples. |
|
So what do you make of FF showing a line-height of a mere 1 times font size when "Browser Default Style' is turned off? |
|
That is the initial value, no? |
|
I know, it is "normal" - but I am talking brass tacks, what it comes down to. |
#36
| |||
| |||
|
|
In this sheet, there would simply be body {line-height: 1.2;} or even, I don't mind and it makes no difference anyway, other things being equal, * {line-height: 1.2] The point of the 'useful fiction' is to not worry where values are coming from, they are what actually confronts the website maker. The master sheet will be different for every browser but not that different. Although you and he might not know it, when JK says words to the effect that line-height is set too small..., this in effect means that in most browsers, the master sheet is giving too much below 1.3 to be comfortable with some popular fonts. |
#37
| |||
| |||
|
|
No, the bottom line is that the value normal is, on many browsers for many fonts, too small for normal use of the font, especially when line length is large. And by browser defaults, lines extend from the left of the browser window to its right, with small margins. |
#38
| |||
| |||
|
|
Mon, 2 Nov 2009 09:08:11 +0200 from Jukka K. Korpela jkorpela (AT) cs (DOT) tut.fi>: No, the bottom line is that the value normal is, on many browsers for many fonts, too small for normal use of the font, especially when line length is large. And by browser defaults, lines extend from the left of the browser window to its right, with small margins. So you're saying that "many browsers" have implemented "normal" poorly? |
#39
| |||
| |||
|
|
Given that 1.2 is too low for some popular fonts, why set it to 1.2? |
|
I found when I had line- height:1.2, and selected Palatino in my browser, then printed my Web page, that the underscores under links sometimes didn't print because they interfered with the ascenders of the following line. |
|
Isn't "normal" better than a specific number because it lets the browser pick a line-height based on choice of font? |
#40
| |||
| |||
|
|
Mon, 02 Nov 2009 13:41:46 +1100 from dorayme doraymeRidThis (AT) optusnet (DOT) com.au>: In this sheet, there would simply be body {line-height: 1.2;} or even, I don't mind and it makes no difference anyway, other things being equal, * {line-height: 1.2] The point of the 'useful fiction' is to not worry where values are coming from, they are what actually confronts the website maker. The master sheet will be different for every browser but not that different. Although you and he might not know it, when JK says words to the effect that line-height is set too small..., this in effect means that in most browsers, the master sheet is giving too much below 1.3 to be comfortable with some popular fonts. Sorry, I don't understand. Given that 1.2 is too low for some popular fonts, why set it to 1.2? I found when I had line- height:1.2, and selected Palatino in my browser, then printed my Web page, that the underscores under links sometimes didn't print because they interfered with the ascenders of the following line. Isn't "normal" better than a specific number because it lets the browser pick a line-height based on choice of font? |
![]() |
| Thread Tools | |
| Display Modes | |
| |