2 replies [Last post]
EdAROC
Offline
Regular
Rochester NY USA
Last seen: 16 years 45 weeks ago
Rochester NY USA
Joined: 2003-12-10
Posts: 19
Points: 0

I am revamping our church's website and one of the changes is to utilize CSS. And this project is my introduction into CSS.

I have created (and am still working on) the stylesheet file that will have universal application to the website, "afumc.css". For Asbury First United Methodist Church"

In the design I am allowing each area, i.e. Children's pages, Youth pages, Music pages, etc., to have a color scheme of their choosing (so long as they do not clash with the overall look and feel). This will allow a subtle variety for the website visitors while maintaining website identity.

If I understand the CSS rules correctly: I could create another stylesheet that the pages open, in addition to afumc.css and have additional css specs. This would keep the primary file as small as possible, and still have all the css specs in external stylesheets.

For example, for Music I could create a file music.css and in it include specs with colors for the Music pages. The music html page(Drunk would read as:
:
<link rel=stylesheet type="text/css" href="/afumc.css">
<link rel=stylesheet type="text/css" href="/music.css">
:

TIA,
Ed

Life is a party...
Sometimes you host
Sometimes you're the guest

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 4 years 38 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Confirm how multiple stylesheets work

Yep, that's correct.

Remember also that styles in the last stylesheet accepted take precedence over those that came before.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.

EdAROC
Offline
Regular
Rochester NY USA
Last seen: 16 years 45 weeks ago
Rochester NY USA
Joined: 2003-12-10
Posts: 19
Points: 0

Confirm how multiple stylesheets work

djomp - I like your words of wisdom, made me laugh.

Thanks. Finally, something that I understood quickly and easily. It is as straightforward as it sounds. Phew!

Just kidding. My programming background is from the early 70's. So, it's linear thinking - almost 30 years - and I am really striving to develop OOP mental processes. While HTML was rather straightforward CSS is testing me - and I'm loving this frustration because I can see examples, i.e. CSS Zen Garden, that make CSS powerful.

Life is a party...
Sometimes you host
Sometimes you're the guest