... you’ll see how big it really is.
Inline
An inline element doesn’t begin and end lines; instead, it is contained within the flow of
the text. Examples of inline tags include <em>, <span>, ... type
•How CSS browsers interpret and display Web pages
•How to set margins, borders, and padding on a box
Displaying Content in CSS
The content of a Web page is the information encoded w...
... watermark.
HOUR
4
Using CSS with HTML
In previous hours, you’ve used Cascading Style Sheets to style your
HTML pages by linking in an external CSS file. The true power of CSS
and HTML really shines through ... for surfing the Web.
3. Visit several Web sites that use CSS, including Eric Meyer’s css/ edge spiral and the
site for this book,
http://www.CSSin24hours.com.
4. How does yo...
... turn off the underlines on
links by writing a:link and a:visited rules. Many designers find underlined links to be
annoyingly ugly and much less elegant than links without underlines.
However, there ... do text shadows in CSS, and which browsers support them
Text Colors
Colors are a key part of conveying information in a visual medium. Giving
distinct colors to certain types of informati...
... different kinds of links; for
example, style offsite links differently from local links. Likewise, use different
styles for inline links in the body of your text and for navigation links located in a
sidebar.
Mouseover ... Effect
measurement Sets an indent
negative measurement Sets a hanging indent
percentage Sets an indent based on a fraction of the containing box
inherit Uses the value...
... within HTML.
20 0672 3240 91 ch15 6/13/02 10:31 AM Page 247
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
In Hours 16, “Page Layout in CSS, ” and 17, “Advanced CSS ... with a horizontal spacing of 0.45em and a vertical spacing of 1em.
L
ISTING 15.5 Increasing the Spacing between Cells Using the border-spacing
Property
/* schedule-15.5 .css */
table {...
... 282
Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark.
LISTING 17.1 Continued
<cite> ;SAMS Teach Yourself Cascading Style Sheets
in 24 Hours</cite>, written by IMI’s ... in
Internet Explorer (Windows)
Offsets based on
bottom or right F Can result in lost content in some browsers
Floating content B+ Unreliable in Netscape 4
The
clear pr...
... Selectors
20 CSS for Printing
21 Accessibility and Internationalization
22 User Interface and Generated Content
23 CSS and JavaScript
24 CSS and XML
PART IV
Advanced Cascading
Style Sheets
24 0672 3240 91 ... inappropriate or meaningless on a computer monitor. These
units correspond to real-world units of measurement used in printing and are listed
in Table 20.2.
CSS for Print...
... from
validating form input to creating animation. The ones we are most concerned with in this
hour are those that interact with CSS setting styles, hiding or displaying content, or
positioning elements ... color around an inactive window
InactiveCaption The background color of the caption on an inactive window
InactiveCaptionText The text color of the caption on an inactive window
InfoBack...