Public Libraries of Suffolk County, New York

CSS, the missing manual, David Sawyer McFarland

Label
CSS, the missing manual, David Sawyer McFarland
Language
eng
Illustrations
illustrations
Index
index present
Literary Form
non fiction
Main title
CSS
Medium
electronic resource eBook
Nature of contents
dictionaries
Responsibility statement
David Sawyer McFarland
Series statement
The missing manual
Sub title
the missing manual
Summary
This book combines crystal-clear explanations, real-world examples, a dash of humor, and dozens of step-by-step tutorials to show you ways to design sites with CSS that work consistently across browsers. Create HTML that's simpler, uses less code, is search-engine friendly, and works well with CSS, style text by changing fonts, colors, font sizes, and adding borders. Create complex layouts using CSS, including multi-column designs that do not require using old techniques like HTML tables and turn simple HTML links into complex and attractive navigation bars-complete with CSS-only rollover effects that add interactivity to your Web pages, and style images to create effective photo galleries and special effects like CSS-based drop shadowsCascading Style Sheets can turn humdrum websites into highly-functional, professional-looking destinations, but many designers merely treat CSS as window-dressing to spruce up their site's appearance. You can tap into the real power of this tool with CSS: The Missing Manual. This second edition combines crystal-clear explanations, real-world examples, and dozens of step-by-step tutorials to show you how to design sites with CSS that work consistently across browsers. Witty and entertaining, this second edition gives you up-to-the-minute pro techniques. You'll learn how to:Create HTML that's si
Table Of Contents
Part 1. CSS basics. Rethinking HTML for CSS -- Creating styles and style sheets -- Selector basics: identifying what to style -- Saving time with style inheritance -- Managing multiple styles: the cascade -- Part 2. Applied CSS. Formatting text -- Margins, padding, and borders -- Adding graphics to web pages -- Sprucing up your site's navigation -- Formatting tables and forms -- Part 3. CSS page layout. Building float-based layouts -- Positioning elements on a web page -- Part 4. Advanced CSS. CSS for the printed page -- Improving your CSS habits -- CSS 3: CCS on the edgeHTML Present: Scaffolding for CSSWriting HTML for CSS; Think Structure; Two New HTML Tags to Learn; HTML to Forget; Tips to Guide Your Way; The Importance of the Doctype; Getting the Most out of Internet Explorer 8; Creating Styles and Style Sheets; Anatomy of a Style; Understanding Style Sheets; Internal or External--How to Choose; Internal Style Sheets; External Style Sheets; Linking a Style Sheet Using HTML; Linking a Style Sheet Using CSS; Tutorial: Creating Your First Styles; Creating an Inline Style; Creating an Internal Style Sheet; Creating an External Style SheetSelectors: Identifying What to StyleTag Selectors: Page-Wide Styling; Class Selectors: Pinpoint Control; ID Selectors: Specific Page Elements; Styling Groups of Tags; Constructing Group Selectors; The Universal Selector (Asterisk); Styling Tags Within Tags; The HTML Family Tree; Building Descendent Selectors; Pseudo-Classes and Pseudo-Elements; Styles for Links; Styling Paragraph Parts; More Pseudo-Classes and -Elements; :before; :after; :first-child; :focus; Advanced Selectors; Child Selectors; Adjacent Siblings; Attribute Selectors; Tutorial: Selector Sampler; Creating a Group SelectorCreating and Applying a Class SelectorCreating a Descendent Selector; Creating and Applying an ID Selector; Finishing Touches; Saving Time with Style Inheritance; What Is Inheritance?; How Inheritance Streamlines Style Sheets; The Limits of Inheritance; Tutorial: Inheritance; A Basic Example: One Level of Inheritance; Using Inheritance to Restyle an Entire Page; Inheritance Inaction; Managing Multiple Styles: The Cascade; How Styles Cascade; Inherited Styles Accumulate; Nearest Ancestor Wins; The Directly Applied Style Wins; One Tag, Many Styles; Specificity: Which Style WinsThe Tiebreaker: Last Style WinsControlling the Cascade; Changing the Specificity; Selective Overriding; Starting with a Clean Slate; Tutorial: The Cascade in Action; Resetting CSS and Styling from Scratch; Creating a Hybrid Style; Overcoming Conflicts; Formatting Text; Formatting Text; Choosing a Font; Serif fonts; Sans-serif fonts; Monospaced and fun fonts; Additional fonts to consider; Adding Color to Text; Hexadecimal color notation; RGB; Changing Font Size; Using Pixels; Using Keywords, Percentages, and Ems; Keywords; Percentages; Ems; Formatting Words and Letters; Italicizing and Bolding
Contributor
Content

Incoming Resources