help!
So I'm making another page where the links to my project 1 site needs/analysis and style guide will reside. Does this page need a new style sheet or can I just link it to the "layout.css" style sheet that I used for the homepage?
Thanks!
when to create new style sheet?
- zelouzelou
- Posts: 63
- Joined: Mon Aug 29, 2011 7:22 pm
when to create new style sheet?
Kathyleen Bullard
Re: when to create new style sheet?
Linking a style sheet to multiple pages is the main idea behind css. So yeah if you want everything to be styled the same as your other page then linking it to the original is best. Problems only arise if you start changing things because it will "cascade" down to every page it is linked to.
Kyle Smith
- Instructor
- Site Admin
- Posts: 1869
- Joined: Thu Jul 21, 2011 8:51 am
Re: when to create new style sheet?
Kyle is exactly right. Stylesheet reuse allows you to only have to lay out a page once and then build from there.
"Inspiration is for amateurs. The rest of us just show up and get to work." — Chuck Close
Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173
Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173
- zelouzelou
- Posts: 63
- Joined: Mon Aug 29, 2011 7:22 pm
Re: when to create new style sheet?
So, if I want the layout of my home page to be different than the layout on my project pages, I need two different style sheets?
Kathyleen Bullard
- Instructor
- Site Admin
- Posts: 1869
- Joined: Thu Jul 21, 2011 8:51 am
Re: when to create new style sheet?
Yes. That'll make it easier to keep track of variations.zelouzelou wrote:So, if I want the layout of my home page to be different than the layout on my project pages, I need two different style sheets?
"Inspiration is for amateurs. The rest of us just show up and get to work." — Chuck Close
Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173
Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173
- zelouzelou
- Posts: 63
- Joined: Mon Aug 29, 2011 7:22 pm
- Instructor
- Site Admin
- Posts: 1869
- Joined: Thu Jul 21, 2011 8:51 am
Re: when to create new style sheet?
No problem. Some people like to use one CSS file and rename their div tags, but I find that needlessly confusing.zelouzelou wrote:okie thanks!
"Inspiration is for amateurs. The rest of us just show up and get to work." — Chuck Close
Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173
Michael Ganschow-Green - GRC 175 Instructor
mganschow@tmcc.edu | 673-8200 ext.5-2173