![]() | |
#31
| |||
| |||
|
|
I am somewhat surprised to find that MS has not upgraded Courier |
|
How often do you actually use Courier, and what do you use if for? On my sites, it's only ever used for code snippets which are more likely to be copy/pasted; neither are they likely to be presented in italics, so it seems likely that windows bitmap Courier would not degrade as much? |
#32
| |||
| |||
|
|
dorayme wrote: 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? .... Using Firefox with Web Developer Extension (that's what you mean, right?), on can switch off style sheets individually. One of them is called "browser style sheet", and it's fair to expect it to correspond to the CSS concept of browser's default style sheet. Our expectations might be wrong, but they are justified. What happens on Firefox when I switch off all style sheets, including "browser style sheet", that way is that line height indeed becomes awfully small. It's apparently 1 or rather close. Now does this mean that normal means 1 to Firefox? Hardly. I guess not if we think of FF as what it ships and operates with |
|
When I look at the rendering of a completely unstyled document, I still see line breaks (though no vertical spacing) around headings and paragraphs, heading elements bolded, links with underline etc. There is nothing in the initial values that explains this. For example, the initial value for display is inline for all elements. So what I see really something that the browser does outside the scope of CSS, logically speaking at least. (It may well have some hidden styles anyway.) If you switch off all style sheets for an HTML document, you're effectively switching off CSS for it, i.e. whatever you see does not say anything about CSS implementation, in principle at least. |
|
Moreover, I don't rely on this feature of Web Developer Extension. It does not work reliably. Switching off "browser style sheet" apparently switches off other things as well (e.g., heading font size settings vanish, even though I make them in my own stylesheet, which I do not switch off). |
#33
| |||
| |||
|
|
Or is he just interested in the words "strict", "transitional", "loose", "frameset", "xhtml" and "html"? Most browsers just do a bit of pattern matching on that to decide whether to use quirks mode or not. [...] The DTD doesn't contain initial values (or default styles). It's something else altogether-- tells you what kind of tags you can use and how you can nest them and other stuff Korpela will know more about. But browsers don't really use them for anything in practice except quirks mode switching. |
#34
| |||
| |||
|
|
dorayme wrote: 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? |
#35
| ||||
| ||||
|
|
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? I have since asked the web developer extension maker, Chris Pederick about this menu item. As I understand from his replies, it is a trigger to implement a reset style sheet of his, a sheet a bit similar to the one at http://meyerweb.com/eric/tools/css/reset/ |
|
The idea being, as I understand it, to alert the author to provide for the styles that are being reset, |
|
the goal, I think, being to gain greater consistency across browsers. |
|
The actual sheet he uses and the exchange between us should be able to be seen by anyone at: http://chrispederick.com/forums/ And look under General. |
#36
| ||||||
| ||||||
|
|
dorayme wrote: 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? I have since asked the web developer extension maker, Chris Pederick about this menu item. As I understand from his replies, it is a trigger to implement a reset style sheet of his, a sheet a bit similar to the one at http://meyerweb.com/eric/tools/css/reset/ That surely explains why line-height appears to be 1. :-) |
|
As a whole, the menu item has nothing to do with switching off browser style sheet. Instead, it adds a particular style sheet, presumably reflecting someone's idea of "neutral" (I'd say "dull") style. |
|
The idea being, as I understand it, to alert the author to provide for the styles that are being reset, This whole "reset" idea is odd. Why do they call it "reset" when they add a style sheet that sets some properties for some elements to initial values and some other to values they just made up, like line-height: 1? What's the point of preventing browsers from rendering <ins> the way modern browsers do and explicitly urge them to use their default for <del>? |
|
the goal, I think, being to gain greater consistency across browsers. I don't see a goal, just some play with CSS. |
|
The actual sheet he uses and the exchange between us should be able to be seen by anyone at: http://chrispederick.com/forums/ And look under General. Ummm... I'm not _that_ interested in the specifics that would dive into a discussion forum. There is nothing to dive into. I asked a question, he answered simply |
|
A real "reset" style sheet would set all properties for all elements to their initial values, to the extent they have been defined in CSS specs. Then you would have to do all the styling from more or less scratch, in the hope of creating browser-independent rendering. It wouldn't be a complete success though, because not all aspects of rendering are describable in CSS as currently defined and because of CSS Caveats. |
![]() |
| Thread Tools | |
| Display Modes | |
| |