
Beginning CSS : Cascading Style Sheets for Web Design.
Title:
Beginning CSS : Cascading Style Sheets for Web Design.
Author:
Pouncey, Ian.
ISBN:
9781118121764
Personal Author:
Edition:
3rd ed.
Physical Description:
1 online resource (466 pages)
Contents:
Beginning CSS: Cascading Style Sheets for Web Design -- Contents -- Introduction -- Part I: The Basics -- Chapter 1: Introducing Cascading Style Sheets -- Advantages of Using CSS -- How to Write CSS -- Your First CSS-Enabled Document -- Browsers -- Webkit -- Trident -- Gecko -- Presto -- Chapter 2: The Bits That Make Up a Style Sheet -- Rules -- Selectors -- Grouping Selectors -- Declarations -- Values -- Keywords -- Strings -- Length and Measurement -- Numbers -- Colors -- The URI -- Including CSS in a Document -- Including an Embedded Style Sheet -- Linking to External Style Sheets -- The Importance of Good HTML -- Doctypes and Quirks Mode -- Chapter 3: Selectors -- Class and ID Selectors -- Class Selectors -- ID Selectors -- The Universal Selector -- Descendant Selectors -- Pseudo-Classes -- Dynamic Pseudo-Classes -- Chapter 4: The Cascade and Inheritance -- The Cascade -- Calculating the Specificity of a Selector -- !important Rules -- Inheritance -- Part II: Properties -- Chapter 5: Applying Font Faces -- Setting Font Faces -- Font Families -- Making Text Italic, Bold, or Small Caps -- Italic Text -- Bold Text -- Small Caps Text -- The font-size Property -- Absolute Font Sizes -- Relative Font Sizes -- Length and Percentage Font Sizes -- The font Shorthand Property -- The font Properties -- Chapter 6: Manipulating the Display of Text -- Line Height -- Controlling the Spacing between Letters -- Controlling the Spacing between Words -- Indenting Text -- Horizontally Aligning Text -- Decorating Text with Underlines, Overlines, or Strikethrough -- Transforming Letter-Case to Lowercase or Uppercase or Capitalizing the Initial Characters of Words -- Controlling How White Space Is Handled -- Chapter 7: Background Colors and Images -- Background Colors -- Background Images -- Controlling How Background Images Repeat -- Positioning Background Images.
Mixing Background Position Values -- Repeating a Background Image and Controlling Its Position -- Controlling Position with the Center Keyword -- Fixing a Background Image in Place -- Background Shorthand -- Chapter 8: The Box Model: Controlling Margins, Borders, Padding, Width, and Height -- Overview -- Margins -- margin Property with Four Values -- margin Property with Three Values -- margin Property with Two Values -- margin Property with One Value -- Margin Collapsing -- Horizontally Aligning Elements with the margin Property -- Borders -- border-width -- border-style -- border-color -- Border Shorthand Properties -- Padding -- Setting Dimensions -- width -- height -- auto Values for width and height -- Percentage Measurements -- Quirks Mode width and height in Internet Explorer -- Minimum and Maximum Dimensions -- Overflowing Content -- Overflowing Just the X or Y axis -- Chapter 9: Floating and Vertical Alignment -- Floating Content -- Floating Box Model -- Canceling Floated Content -- Float Bugs in IE 6 -- The Peek-A-Boo Bug -- The Guillotine Bug -- The Three-Pixel Jog -- The Double-Margin Bug -- Vertically Aligning Content -- Subscript and Superscript Text -- The top, middle, and bottom Keywords -- The text-top and text-bottom Keywords -- Percentage and Length Value -- Vertically Aligning the Contents of Table Cells -- Chapter 10: Styling Lists -- List Markup -- The list-style-type Property -- Styling Unordered Lists -- Styling Ordered Lists -- The list-style-image Property -- The list-style-position Property -- The list-style Shorthand Property -- Chapter 11: Positioning -- Introduction to Positioning -- Absolute Positioning -- Relative Positioning -- Fixed Positioning -- The z-axis and the z-index Property -- The IE 6/ IE 7 z-index Bug -- Chapter 12: Styling Tables -- Optional Table Elements -- Table Captions -- Table Columns.
Controlling Table Layout -- Collapsing Borders -- Controlling Border Spacing -- Chapter 13: Create a Complete Layout -- Creating the Page with HTML -- Styling Text and Custom Fonts -- Building the Layout -- Gradient Backgrounds -- Part III: Advanced CSS and Alternative Media -- Chapter 14: Advanced Selectors -- Direct Child Selectors -- Next Sibling Selector -- Attribute Selectors -- Select by Presence of an Attribute -- Select by Attribute Value -- Attribute Substring Selectors -- Pseudo-Elements :first-letter and :first-line -- Structural Pseudo-Classes -- :first-child -- :last-child -- :nth-child(n) -- Chapter 15: Styling for Print -- Benefits of Print Style Sheets -- Applying Styles Based on Media -- Controlling Styles for Media within a Style Sheet -- Controlling Page Breaks -- The Content Property -- Chapter 16: Customizing the Mouse Cursor -- The cursor Property -- Cursor Compatibility -- Chapter 17: Controlling Opacity and Visibility -- The opacity Property -- The visibility Property -- Chapter 18: Styling Content for Mobile Devices -- Why Mobile Is Important -- Developing for Mobile -- Testing Mobile Devices -- Media Queries -- Chapter 19: Closing Comments -- CSS Summary -- Future of CSS -- Closing Statement -- Appendix A: Answers to Exercises -- Chapter 1 -- Chapter 2 -- Chapter 3 -- Chapter 4 -- Chapter 5 -- Chapter 6 -- Chapter 7 -- Chapter 8 -- Chapter 9 -- Chapter 10 -- Chapter 11 -- Chapter 12 -- Chapter 13 -- Chapter 14 -- Chapter 15 -- Chapter 16 -- Chapter 17 -- Chapter 18 -- Appendix B: Additional CSS Resources -- Text Editors -- Windows -- Mac -- Other -- Browsers -- HTML -- CSS -- Appendix C: CSS Reference -- Reference Conventions -- Selectors -- Pseudo-Classes -- Pseudo-Elements -- Color Properties -- Font Properties -- Background Properties -- Text Properties -- Box Model Properties -- Visual Eff ects -- Positioning.
Table Properties -- User Interface -- Generated Content, Automatic Numbering, and Lists -- Appendix D: CSS Colors -- Reds -- Blues -- Greens -- Yellows -- Browns -- Grays -- Index.
Abstract:
Completely updated material and new examples show you what CSS can do With the latest versions of Firefox, Safari, Internet Explorer, and other browsers released, CSS is more essential than ever. This beginner guide demonstrates how cascading style sheets can be used to define styles to items in Web pages, rather than format each item individually. Each lesson in this full-color book has been methodically revised to be more concise and efficient, making your learning experience as productive as possible. Covers the latest in CSS, including the new features of Internet Explorer, Firefox, Safari, and Google Chrome Reviews the vast improvements to mobile browsers and how CSS can work with them Provides helpful examples and walks you through real-world solutions to common hurdles Discusses embedded fonts, compatibility tables, and cross-browser bug scenarios Beginning CSS, Third Edition gets you completely up to date so that you can start using CSS in the newest Web and mobile browsers today!.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Subject Term:
Genre:
Added Author:
Electronic Access:
Click to View