Book HomeCascading Style Sheets: The Definitive GuideSearch this book Tuesday 21st of May 2013 10:22:41 AM

A.3. Online Communities

One can read only so much before it comes time to join a discussion and ask some questions. There are two major venues for discussions about CSS, but each is concerned with a specific type of discussion -- so make sure you go to the right place.

A.3.1. comp.infosystems.www.authoring.stylesheets

This Usenet group, often abbreviated as ciwas (pronounced "see-wass"), is the gathering place for CSS authors. A number of experts in the field check this newsgroup regularly, this author among them, and all are there for one primary reason: to help new CSS authors over the hurdles that learning any new language will generate. The secondary reason is for the spirited debates that occasionally erupt over some aspect of CSS, or a browser's implementation thereof. Rather unusually for a newsgroup, the signal-to-noise ratio stayed fairly high for the last few years of the 1990s, and will with any luck continue in that vein.

A.3.2. www-style@w3.org

Anyone who wishes to be involved in discussing the future course of CSS, and to clearing up ambiguities in the specifications, should subscribe to this list. The members of the list are all, in one fashion or another, interested in making CSS better than it is already. Please note: www-style is not the place to ask for assistance with writing CSS. For help with CSS authoring problems, visit ciwas instead. Questions beginning with "How do I ... ?" are frowned upon by the regulars of www-style and are usually redirected to a more appropriate forum such as ciwas. On the other hand, questions that begin "Why can't I ... ?" or "Wouldn't it be cool if ... ?" are generally welcome, so long as they relate to some ability that appears to be missing from CSS.

4.1.2.1. Real-world issues

As we saw in the preceding section, a scaling factor is the best way to avoid the kinds of inheritance problems you encounter with length measures for line-height. It would therefore seem that using a number is always preferred. Alas, this is not necessarily so. Internet Explorer 3 will interpret a scaling factor as a pixel value, so you get something like what's shown in Figure 4-29.

Figure 4-29

Figure 4-29. Internet Explorer 3 and line-height factors mean big trouble

Messages to www-style are only accepted if the sender is already subscribed to the list. In order to subscribe, send email to with the word subscribe in the subject of the message; to unsubscribe, send email to with the word unsubscribe in the subject of the message.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.

floated elements) is an inline element. Setting box properties for inline elements gets into even more interesting territory than we've already covered. Some good examples of inline elements are the EM tag and the A tag, both of which are nonreplaced elements, and images, which are replaced elements.

1.4.3. The @import Directive

Now for the stuff that is found inside the STYLEtag. First, we have something very similar toLINK: the@import directive. Just likeLINK, @import can be used todirect the web browser to load an external style sheet and use itsthe document. In other words, if an image is floated up into aprevious paragraph, it may simply overwrite whatever was alreadythere. On the other hand, the user agent may handle the situation byflowing content around the float, even though doing so isn'trequired behavior. Either way, it's probably a bad idea tocount on a particular behavior, which makes the utility of negativemargins on floats rather limited. Hanging floats are probably fairlysafe, but trying to push an element upward on the page is generally abad idea.

background: white url(pix/grstripe.gif) repeat-y top left;}

For the anchors, among other things, we need to know the color valueof the green being used. The art department reports that thisparticular shade of green uses no red or blue, and just 40% green;someone there has had the foresight to use web-safe colors.(Remember, this is a hypothetical situation.) We want to do the samefor the visited links, so we write:

A:link {color: rgb(0%,40%,0%);}A:visited {color: rgb(20%,20%,20%);}