Book HomeCascading Style Sheets: The Definitive GuideSearch this book Thursday 19th of January 2017 01:54:21 PM

Copyright © 2000 O'Reilly & Associates, Inc. All rights reserved.

Printed in the United States of America.

Published by O'Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.

Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly & Associates, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly & Associates, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. The association between the image of a koala and the topic of HTML and XHTML is a trademark of O'Reilly & Associates, Inc.

While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

Think of these properties as ways to affect how the lines of text arelaid out, as you might do when creating a newsletter or writing areport. Indenting text

Oneof the most sought-after effects in text formatting on the Web is theability to indent the first line of a paragraph. (Close behind thatis the desire to eliminate the "blank line" between

Library Navigation Links

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

seem to be any way to override this behavior.

Despite its limitations, border is obviously avery useful property. It can even be used to work around what seemslike a completely unrelated bug in Netscape Navigator 4.x. If youassign a background color to an element and then view it inNavigator 4.x, the color will onlyappear behind the letters in the text and not cover the entirecontent area and padding. You can get around this by declaring: