Digital Family Help Center

I answer a lot of questions by email, but you may find an answer more quickly on this Web site.

Here are a few answers common questions:

I get a lot of email and I can't promise to answer them all, but I do try.

Sometimes I surprise people and answer a question right away, but sometimes messages get caught in my spam filter or I'm super busy...


Designing with Cascading Style Sheets in Dreamweaver, WordPress, and more

Dreamweaver CSS Styles panelThe concept of creating styles has been around since long before the Web.

Desktop publishing programs (such as Adobe InDesign) and even word processing programs (such as Microsoft Word) have long used styles to manage the formatting and editing of text on printed pages. When using styles in a word processor, you can create and save styles for common features, such as headlines and captions.

In print design, styles are great timesavers because they enable you to combine a collection of formatting options (such as Arial and bold and italic) into one style and then apply all those options at once to any selected text in your document by using only a single style. The advantage is that if you change a style, you can automatically apply the change everywhere you’ve used that style in a document.

On the Web, you can do all that and more with CSS because you can use style sheets for even more than just text formatting. For example, you can use CSS to create styles that align images to the left or right side of a page, add padding around text or images, and change background and link colors. You can even create more than one style sheet for the same page @@md say, one that makes your design look good on computers, another for cell phones, and a third for a printed page.

For all these reasons (and more), CSS has quickly become the preferred method of designing Web pages among professional Web designers. One of the most powerful aspects of CSS is that it enables you to make global style changes across an entire Web site.

How Cascading Style Sheets Work

Suppose, for example, that you create a style for your headlines by redefining the <h1> tag to create large, blue, bold headlines. Then one fine day, you decide that all your headlines should be red instead of blue. If you aren’t using CSS, changing all your headlines could be a huge undertaking -- a matter of opening every Web page in your site to make changes to the font tags around your headlines.

But, if you’re using CSS in an external style sheet, you can simply change the style that contains formatting information for <h1> tag in the style sheet, and voilà! Your headlines all turn red automatically. If you ever have to redesign your site (and believe me, every good site goes through periodic redesigns), you can save hours or even days of work if you created your design with CSS.

A Web site designed with CSS separates content from design. Keeping the content of site (such as the text and headings) separate from the instructions that tell a browser how the content should look benefits both you as a designer and your site visitors.

Here are some of the advantages of using CSS:

Understanding the basics of styles

Many people find CSS confusing at first because it’s such a different approach to design than what you may be used to if you’ve worked in print. The following are three of the more confusing aspects of CSS for beginners:

And ultimately, you need to understand how CSS and HTML work together. So, for example, you can control the positioning and appearance of an HTML <div> tag by applying an ID style to the tag, or you can redefine a tag, such as the <h1> tag to change the way headlines look on a page.

If you’re starting to feel baffled already (or you get overwhelmed as you start learning CSS), hang in there.

Once you master the basic concepts and start creating and applying styles, all this should start making more sense. And remember, you can always come back and read through any of the articles on this site again. After you’ve been using styles for a while, the details in the tutorials on this site (see list on side of page) are likely to have more meaning to you, but it’s really hard to start using styles before you have a good overview of how they work.

CSS Basics: Dive into Cascading Style Sheets

Whether you are completely new to designing with Cascading Style Sheets, or you really want to master the basics of CSS, Janine's crash course will get you up to speed quickly.

$29.00
2-hr Training DVD & project files

PayPal
Click for more information about Google Checkout