Sunday 25th of February 2018 10:10:14 PM

border-style). Negative length values are notpermitted.

border-styleIE4 P/Y IE5 P/Y NN4 P/P Op3 Y/-

Sets the style of the overall border ofan element, using the color set by border-color or the foreground ofthe element itself if no border-color has been defined. CSS1 does notrequire recognition of any values besides none andsolid. Any unrecognized value from the list ofvalues should be reinterpreted as solid. alt="Book Home" >

Cascading Style Sheets: The Definitive GuideSearch this book

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Index: B

background attachment: 6.2.5. Getting Attached
background-attachment property: 6.2.5. Getting Attached
background-color property: 6.1.2. Background Color
inheritance and: 6.1.2. Background Color
background-image property: 6.2.1. Background Images
background-position property: 6.2.3. Background Positioning
background property: 6.2.6. Bringing It All Together
background-repeat property: 6.2.2. Repeats with Direction
backgrounds: 6. Colors and Backgrounds
colors: 6.1.2. Background Color
importance of declaring foreground color with: 6.1.4. Good Practices
complex: 6.2. Complex Backgrounds
floated elements and: Backgrounds and floats
images as: 6.2. Complex Backgrounds
specifying with background color: Good background practices
Netscape Navigator 4.x, correcting placement: 11.2.5. Getting Full Content Backgrounds in Navigator
padding and: 7.2. Margins or Padding?
perfect alignment of: Interesting effects
positioning: 6.2.3. Background Positioning
scrolling vs. fixed: 6.2.5. Getting Attached
backward accessibility: 1.4.4. Actual Styles
baseline alignment: Baseline alignment
\:before pseudo-element: Miscellaneous pseudo-elements and pseudo-classes
generated content: 10.4. Generated Content
blank space around elements (see margins)
blinking text: 4.1.6. Text Decoration
block-level elements: 2.9. Classification of Elements
8.2. Block-Level Elements
auto value: Using auto
collapsing vertical margins: Collapsing vertical margins
floated elements and: 8.3. Floated Elements
height: Height
horizontal formatting: 8.2.2. Horizontal Formatting
horizontal properties: Horizontal properties
list items: 8.2.3. List Items
margins and, caution with: 7.3.6. Negative Margin Values
negative margins: Negative margins
replaced: 8.2.4. Block-Level Replaced Elements
vertical formatting: 8.2.1. Vertical Formatting
BODY attributes: 2.4.1. Pseudo-Class Selectors
replacing with color property: BODY attributes
bold text: 5.2.2. Getting Bolder
preserving with Netscape Navigator 4.x: 11.2.7. Preserving Boldness
setting color: 6.1.1. Foreground Colors
border-bottom property: 7.4.4. Shorthand Border Properties
border-bottom-width property: 7.4.2. Border Widths
border-color property: Affecting borders
7.4.3. Border Colors
border-left property: 7.4.4. Shorthand Border Properties
border-left-width property: 7.4.2. Border Widths
border property: Setting borders as quickly as possible
border-right property: 7.4.4. Shorthand Border Properties
border-right-width property: 7.4.2. Border Widths
border-style property[border style property: 7.4.1. Borders with Style
border-top property: 7.4.4. Shorthand Border Properties
border-top-width property: 7.4.2. Border Widths
border-width property: 7.4.2. Border Widths
borders: 7.4. Borders
color: 7.4.3. Border Colors
replication: 7.4.3. Border Colors
setting: Affecting borders
inline elements and: 7.4.5. Borders and Inline Elements
multiple styles: Multiple styles
new properties with CSS2: 10.6. Borders
width: 7.4.2. Border Widths
for individual sides: 7.4.2. Border Widths
keywords for: 7.4.2. Border Widths
none, setting to: No border at all
replication: 7.4.2. Border Widths
bottom property: 9.1.2. Side Offsets
box properties: 7.4.5. Borders and Inline Elements
7.4.6. Borders: Known Issues
adding to
inline elements: Adding box properties
inline replaced elements: Adding box properties
appearance and: 10.5. Adapting to the Environment
background images and: 6.2.1. Background Images
background property and: 6.2.6. Bringing It All Together
backward accessibility for: 1.4.4. Actual Styles
cursor shape: 10.5.1. Cursors
environment and: 10.5. Adapting to the Environment
important rules and: 2.7.2. Importance
inheritance and: 2.6.1. Limitations of Inheritance
negative background positions and: Length values
negative margins, support for: 7.3.6. Negative Margin Values
negative padding and: 7.5. Padding
points/pixels, treatment of: 5.3.5. Using Length Units
speech-synthesis: 1.1.1. What a Mess
1.1.1. What a Mess
10.8.2. The Spoken Word
text justification and: Aligning text
underlining, turning off in: Weird decorations
whitespace, handling in: Handling whitespace
bullets: 7.7. Lists
8.2.3. List Items
fallback for: 7.7.2. List Item Images
images used as: 7.7.2. List Item Images
position of: 7.7.3. List Item Positions

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.

As a property, text-transform may not seem like itdoes very much. In fact, it's very useful if you suddenlydecide that you want all of your H1 elements to beall capitals. Instead of having to actually change the content of allyour H1 elements, you can just usetext-transform to make the change for you:

H1 {text-transform: uppercase;}<H1>This is an H1 element</H1>

As you can see from Figure 4-55, the text is now all LOWSRC="low_res.gif"> 

Another option is to include a small "thumbnail" version of the image on your page that links to the full-sized version.  Then your visitors can decide for themselves whether to view or skip the full-sized version.  By default, a linked image has a 2-pixel-wide blue border, but you can use IMG tag's BORDER attribute to eliminate this (BORDER=0). 
  elements are the child of the BODY element andthat BODY is as wide as the browser window. Moreproperly stated, the side margins of H1 elementswill be 10% of the width of the H1's parentelement.

Let's revisit that example for a moment:

H1 {margin: 0.5em 10% 0.5em 10%;}

Seems a little redundant, doesn't it? After all, you have totype in the same pair of values twice. Fortunately, CSS offers an