Creating modular style sheets


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

Creating modular style sheets

Now that we have separate style sheets for our tables and forms, we have a few options for how to apply them to the pages that need them. The first option would be to add another link on the page to the necessary page. So, let me switch over to Code View real quick, and you can see right there is the link to our main style sheet. So, if we needed to, we could add on the link tag below this that would link to, say, the table styles or the form styles, whatever we would need. Now, we do have a title attribute. Notice this title attribute right there. Now, that lets the browser know that this is the default style sheet.

If you've got more than one link tag, it's really hard to blend all those guys together and let them know that those are the default style sheets. That can become an accessibility problem. So, we want to try to avoid that a little bit. All right! So, I want to switch over to our main. css, right up here in our related files. Honestly, it's going to take you forever ...

Creating modular style sheets
Video duration: 7m 9s 4h 40m Intermediate

Viewers:

Creating modular style sheets 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 ...