Chapter 7CSS Basics

Cascading Style Sheets

CSS stands for cascading style sheets. CSS works in conjunction with HTML by adding features that are not available with HTML, giving you the ability to control fonts, margins, size, boldness, colors, etc. CSS allows you to make global changes to a web site by editing one line of code.

If you examine the typical HTML page, you will notice numerous font tags throughout the page. Imagine that your page has 30 of these font tags set for Verdana, and your boss says, “Verdana is a nice font, but Helvetica looks more fun. I want you to change all of the pages to Helvetica.” What if your site has 15 pages? Now you have 450 font tags to change. This is great if you love mind-numbing repetitive work! There is, ...

Get FileMaker Web Publishing: A Complete Guide to Using the API for PHP now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.