Cascading Style Sheets (CSS) is the technology used to separate web page content from page style. Increased ease of site maintenance is the big benefit of CSS. Imagine being able to redesign your text and heading styles on an entire website without having to edit a single HTML file — it’s possible with CSS. A website using extensive CSS is not only easier to maintain, but pages are lean, resulting in faster page loads. Clean structural code styled with CSS is also more accessible, both now and into the future. On these pages we’ll sow you how to style and enliven your content using CSS. You will learn extended basics as well as some advanced CSS techniques like using pullquotes, adding inline photos with captions, highlighting features in a sidebar, and identifying and styling unique page components.
After reviewing this material, you will be able to:
- Create a central stylesheet file to store your style definitions for use on all pages on your site.
- Style text, style headings, and transform text.
- Say goodbye to spacer graphics by using CSS for margins and padding.
- Style tables and data with CSS.
- Identify specific page elements for unique styles.
- Use CSS to insert inline photos with captions.
- Use CSS to insert pullquotes and feature sidebars.
- Hide content that is important to the structural markup of the page but is not needed/used in the page design.