indefinitely, or only along one axis, or not at all, and the starting position of the tiling is dependent on the value of background-position.

Example

BODY {background-image: url(bg41.gif);}
H2 {background-image: url(http://www.pix.org/dots.png);}

Example

BODY {background-position: top center;}
directions along Book HomeCascading Style Sheets: The Definitive GuideSearch this book Saturday 26th of July 2014 03:03:12 AM

0.3. How to Contact Us

We have tested and verified the information in this book to the best of our ability, but you may find that features have changed (or even that we have made mistakes!). Please let us know about any errors you find, as well as your suggestions for future editions, by writing to:

O'Reilly & Associates, Inc.

1005 Gravenstein Highway North

Sebastopol, CA 95472

(800) 998-9938 (in the U.S. or Canada)

(707) 829-0515 (international/local)

(707) 829-0104 (fax)

You can also send us messages electronically. To be put on the mailing list or request a catalog, send email to:

To ask technical questions or comment on the book, send email to:

We have a web site for the book, where we'll list examples, errata, and any plans for future editions. You can access this page at:

http://www.oreilly.com/catalog/css/

For more information about this book and others, see the O'Reilly web site:

http://www.oreilly.com/



Library Navigation Links

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

Again, all of this is only true for the top and bottom sides ofinline elements; the left and right sides are a different story.We'll start by considering the simple case of a small inlineelement within a single line, as depicted in Figure 7-52.

Figure 7-52

Figure 7-52. An inline element

Here, if we set values for the left or right border, not only willthey be visible, but they'll displace the text around them, aswe see in Figure 7-53:

</OL>
Figure 7-80

Figure 7-80. Switching off list-item markers

list-style-type is inherited, so if you want tohave different styles of bullet in nested lists, you'll need todefine them individually. You may also have to explicitly declarestyles for nested lists because the user agent's style sheetmay already have defined such styles. Assume that a UA has thefollowing styles defined:

UL {list-style-type: disc;}
  • XML allows you to easily generate XML documents (that contain your information), since it is so structured.
  • XML parsers allow you to code faster by giving you a parser for your all your XML documents (with and without DTDs).
  • XML documents are easily committed to a persistence layer

    XML documents may be stored in files or databases. When stored in files, XML documents are simply plain text files with tags (and possibly DTDs). It is very easy to save your XML documents to a text file and pass the text file around to other machines, platforms and programs (as long as they can understand the data). In the worst case scenario, XML documents (files) can be viewed in a text editor on just about any platform.

    as a strip of paper with marginal plastic surrounding it. Displayingthe inline element on multiple lines is like cutting up the stripinto smaller strips. However, no extra plastic is added to eachsmaller strip. The only plastic used is that which was on the stripto begin with, so it only appears at the beginning and end of theinline element.

    7.3.8. Margins: Known Issues

    SPAN aweight of700. When the STRONG text isset to lighter, it evaluates to the next-lighterface, which is the regular face, or 400 (the sameas normal) on the numeric scale. The next stepdown is to 300, which comes out the same asnormal since no lighter faces exist. From there,the user agent can only reduce the weight one numeric step at a timeuntil it reaches 100 (which it doesn't do inthe example). The second paragraph shows which text will be bold, and