Cascading Style Sheets (CSS) By Example

Overview

Cascading Style Sheets (CSS) by Example allows you to learn the fundamentals of CSS by taking you through small, gradual steps. It provides examples using CSS in "real world" scenarios. Cascading Style Sheets (CSS) by Example follows a logical, linear teaching style that will ultimately have you using CSS to utilize more control over the appearance and styling of Web pages.

Read More Show Less
... See more details below
Other sellers (Paperback)
  • All (36) from $1.99   
  • New (5) from $3.77   
  • Used (31) from $1.99   
Sending request ...

Overview

Cascading Style Sheets (CSS) by Example allows you to learn the fundamentals of CSS by taking you through small, gradual steps. It provides examples using CSS in "real world" scenarios. Cascading Style Sheets (CSS) by Example follows a logical, linear teaching style that will ultimately have you using CSS to utilize more control over the appearance and styling of Web pages.

Read More Show Less

Product Details

  • ISBN-13: 9780789726179
  • Publisher: Que
  • Publication date: 11/28/2001
  • Series: By Example
  • Edition number: 1
  • Pages: 480
  • Product dimensions: 7.20 (w) x 9.00 (h) x 1.10 (d)

Meet the Author

Steve Callihan is a freelance technical writer and has written several books on Web design. He has had articles published in major computer and Internet magazines and has extensive experience designing, writing, and producing hardware and software user guides.

Read More Show Less

Table of Contents

Introduction.

I. CREATING YOUR FIRST STYLE SHEET.

1. Getting Oriented.

What Is a Style Sheet? Implementation of CSS in Browsers. CSS and HTML. Downloading and Extracting the Example Files. Using a Text Editor to Work with the Examples. What's Next?

2. Setting Your Page's Base Styles.

Checking Which Browser You're Using. Using This Chapter's Example File. A Quick Word About Using the Example File. Controlling the Body of Your Page. Setting the P Rule for Paragraphs. What's Next?

3. Setting Your Page's Other Styles.

Using the Example File. Setting the H1 Rule. Using a Group Selector to Set the Other Heading Characteristics. Setting the List Characteristics. Setting the Address Characteristics. What's Next?

II. UNDERSTANDING BASIC CONCEPTS

4. Using CSS with HTML.

Containment in HTML. Separating Appearance from Structure. CSS and Deprecated Elements and Attributes. A Word About Frames. The Three Flavors of HTML. What's Next?

5. Cascading, Grouping, and Inheritance.

How Cascading Works. How Grouping Works. How Inheritance Works. What's Next?

III. WORKING WITH COLORS, FONTS, AND TEXT.

6. Working with Colors and Backgrounds.

Using the Example File. Setting Foreground and Background Colors. Setting Background Images. Using the Background Shorthand Property. What's Next?

7. Working with Fonts.

Using the Example File. Setting Font Sizes. Setting Font Families. Setting Font Weights. Setting Font Styles and Variants. Using the Font Stretch Property. Using the Font Shorthand Property. Font Matching and the @font-face At-Rule. What's Next?

8. Working with Text and Links.

Using the Example File. Horizontally Aligning Text. Indenting the First Text Line. Controlling the Line Height. Controlling Letter and Word Spacing. Setting Underlining, Overlining, and Other Highlighting. Controlling Capitalization. Setting Text Shadows. Using the SPAN Element. Controlling the Appearance of Links. What's Next?

IV. WORKING WITH BLOCK ELEMENTS AND OBJECTS.

9. Formatting Block Elements.

Understanding the CSS Formatting Model. Using the Example File. Setting Margins. Setting Padding. Setting Borders. Using the DIV Element. Setting Padding, Borders, and Margins for Images and Other Objects. What's Next?

10. Aligning, Floating, and Positioning.

Horizontally Aligning Block Elements. Floating Elements. Creating an Online Picture Gallery. Positioning Elements. What's Next?

V. WORKING WITH LISTS AND TABLES.

11. Working with Lists.

Creating Bulleted Lists. Creating Link Lists. Creating Numbered Lists. Creating Glossary Lists. What's Next?

12. Working with Tables.

Using the Example HTML File. CSS and Tables. Controlling Table Width and Horizontal Alignment. Controlling Spacing, Padding, and Borders. Aligning Table Cell Contents. Working with Rows and Columns. Putting On the Finishing Touches. What's Next?

VI. GETTING DEEPER INTO USING STYLES.

13. Creating Menus and Interfaces.

Using the Example HTML File. Creating Interactive Menus. Creating an Interactive Sidebar Menu. Creating a Ribbon Menu. What's Next?

14. Creating Page Layouts and Site Designs.

Using the Example HTML Files. Keeping It Simple. Using a Fixed Sidebar Background. Creating Multi-Column Layouts. Creating a Three-Column Layout. Creating Site Designs. What's Next?

VII. VALIDATION AND COMPATIBILITY.

15. Validating Your Style Sheet.

Why Validate? Validation Options. The W3C's CSS and HTML Validators. Using the WDG's CSS and HTML Validators. Using Other HTML Validators and Page Checkers. What's Next?

16. Providing for Backward Compatibility.

Using the Example File. What About Non-Conforming Browsers? Using Gateway Pages and Browser Sniffers. Participating in the Web Standards Project. Using the LINK Element with a MEDIA Attribute. Finding Out What Works (and Doesn't Work) in Which. Browsers. The Comment Bug. A Practical Example. Understanding How DocType Switching Works. What's Next?

VIII. APPENDIXES.

Appendix A. CSS Quick Reference.

Containment and Application in HTML. CSS1 Properties (Alphabetical). A Look Ahead at CSS3.

Appendix B. Using CSS with Other Technologies.

Using JavaScript with CSS. Creating Dynamic Styles with Dynamic HTML. Using CSS with XML.

Appendix C. Overview of CSS Software Tools.

Style Sheet Editors. CSS-Supporting HTML Editors and Web Publishing. Text Editors. Windows. Macintosh. Other Platforms. Miscellaneous Utilities.

Index.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)