Sunday 04th of December 2016 04:51:40 AM

1.4.3. The @import Directive

Now for the stuff that is found inside the STYLEtag. First, we have something very similar toLINK: the@import directive. Just likeLINK, @import can be used todirect the web browser to load an external style sheet and use its

Book Home

Cascading Style Sheets: The Definitive GuideSearch this book

Index

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.

When an element has been absolutely positioned.

The default value of visible means that the content may be visible outside the element's box. Typically, this would lead to the content simply running outside its own element box, but not altering the shape of that box. The following styles would result in Figure 9-8:

DIV#sidebar {position: absolute; top: 0; left: 0; width: 25%; height: 7em;
overflow: visible;}

In such a case, the entire statement will be invalid and should beignored altogether.

Finally, you need to take the usual precautions with shorthandproperties: if you omit a value, the default will be filled inautomatically. This can have unintended effects. Consider thefollowing:

H4 {border-style: dashed solid double;}H4 {border: medium green;}