When it comes right down to it, positioning is a very compelling technology. It's also likely to be an exercise in frustration if you're trying to get it to behave consistently in a cross-browser environment. The problem isn't so much that it won't work in some browsers: it's that it will only sort of work in a number of them, such as Navigator 4 and Internet Explorer 4 and 5. It can be great fun to play with positioning, and one day we'll be able to use it in place of tables and frames while dramatically improving accessibility and backward compatibility. As of this writing, though, it remains a great way to create design prototypes, but a tricky thing to use on a public web site.
As it happens, this sentiment may be applied to the majority of CSS2, property to tie them all together. These properties are used to affect the type of bullet used in a list, to replace the bullet with an image, and to affect where the bullet or image appears in relation to the text of the list item.
Just in case you're unfamiliar with the concept of a "bullet," it's the little decoration to the side of a list item, as depicted in Figure 7-79.
Copyright © 2002 O'Reilly & Associates. All rights reserved.happen when you apply margins to inline elements will happen if you apply padding, so it is wise to avoid setting margins, borders, or padding on inline elements.
Opera 3.5 incorrectly permits negative values for padding, but version 3.6 does not suffer from this problem. Internet Explorer 4.x will not apply padding to inline elements at all -- which is probably just as well.
Of course, there are a few problems with using borders. The mostdistressing is the fact that Navigator 4.x won't draw a borderaround the content area of a block-level element but instead insertssome space between the content and the border. There doesn'tseem to be any way to override this behavior.
Despite its limitations, border is obviously a
Even worse, if you try applying padding to inline elements inNavigator 4.x, you get a huge mess. The same sorts of things thathappen when you apply margins to inline elements will happen if youapply padding, so it is wise to avoid setting margins, borders, orpadding on inline elements.
Opera 3.5 incorrectly permits negativevalues for padding, but version 3.6 does notsuffer from this problem. Internet Explorer 4.x will not applypadding to inline elements at all -- which is probably just as
The classes that import and export information from your ApplicationML file must use the parser and SAX or DOM API in order to import the information. These classes can access this information by using one of the following strategies: