Betweenthe borders and the content area, we find thepadding of the element box. It will come as nosurprise that the simplest property used to affect this area iscalled padding.

padding

Values
chatten kostenlos flirt dating flirten Thursday 24th of April 2014 10:28:48 AM

by Eric A. Meyer
ISBN 1-56592-622-6
First edition, published May 2000.
(See the catalog page for this book.)

Search the text of Cascading Style Sheets: The Definitive Guide.

Table of Contents

Copyright Page
Preface
Chapter 1: HTML and CSS
Chapter 2: Selectors and Structure
Chapter 3: Units and Values
Chapter 4: Text Properties
Chapter 5: Fonts
Chapter 6: Colors and Backgrounds
Chapter 7: Boxes and Borders
Chapter 8: Visual Formatting
Chapter 9: Positioning
Chapter 10: CSS2: A Look Ahead
Chapter 11: CSS in Action
Appendix A: CSS Resources
Appendix B: HTML 2.0 Style Sheet
Appendix C: CSS1 Properties
Appendix D: CSS Support Chart
Index
Colophon
Library Navigation Links

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

Here's a link to my <A HREF="mailto:johnmack@udel.edu?subject=Your Awesome MAD-DOG Page!">
e-mail: &nbsp;<IMG ALT="Great Page, Mad Dog!" src=mailbox.gif></a> so you can complain about this page.  The link encloses both 
the image (with default border) and the blue underlined text. Note that I specified the text for the subject line (the sender can change this). I could also specify ?cc= or ?bcc= and list e-mails to receive copies or blind copies. Navigator handles any one of these options; Explorerof an element. Negative values are permitted, but caution is recommended.

Example

P {margin-left: 3em;}
name="INDEX-1381" />margin-rightIE4 P/P IE5 P/Y NN4 B/B Op3 Y/-

This sets the size of the right margin of an element. Negative values are permitted, but caution is recommended.

margin-topIE4 P/P IE5 P/Y NN4 P/P Op3 Y/-

This sets the size of the top margin of element. With the right styles, the containing block for thepositioned element will be the entire BODYelement. Thus, applying the following styles to theBODY and the fifth paragraph in a document wouldlead to a situation similar to that shown in Figure 9-20:

BODY {position: relative;}<P STYLE="position: absolute; top: 0; right: 25%; left: 25%; bottom: auto;width: 50%; height: auto; background: silver;">...</P>
Figure 9-20

Figure 9-20. An absolutely positioned paragraph

If there are less than four values,value replicationtakes effect. So if you want H1 elements to havethin, black top and bottom borders with thick, gray side borders, andmedium, gray borders around P elements, this willsuffice, as we can see in Figure 7-42:

H1 {border-style: solid; border-width: thin thick; border-color: black gray;}P {border-style: solid; border-color: gray;}