Preparing modular styles


show more Preparing modular styles provides you with in-depth training on Web. Taught by James Williamson as part of the Managing CSS in Dreamweaver show less
please wait ...

Preparing modular styles

Earlier in this title, we discussed the advantage of separating the styles in your style sheets into sections. By creating separate sections for items such as layout, typography, or page regions, you create more organized files and make editing and maintaining them easier. You can take that concept a step further by creating what's known as modular style sheets. The modular style sheets are created by separating the site's CSS into individual style sheets and then reassembling them at run time. Before we discuss how to assemble style sheets at run time, let's focus on preparing our modular stylesheets by separating our styles into separate files.

So, I have the main.css open from the 04_03 folder. What we're going to do is we're going to separate out a couple of sections of styles that not every single page is going to need. We have a full set of styles for table design, and we have a full set of styles for forms. But not every page is going to be using tables, and no...

Preparing modular styles
Video duration: 4m 33s 4h 40m Intermediate

Viewers:

Preparing modular styles provides you with in-depth training on Web. Taught by James Williamson as part of the Managing CSS in Dreamweaver

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...