|
bobby -> RE: What's the big deal? (4/8/2004 11:47:29)
|
quote:
why not create one page and use the "Save As" option opposed to "Save"? What other benefits are there? I'm not sure you're understanding the purpose of CSS... Creating one page and using it as a "template" of sorts is a great idea, I do the same thing... open, change content, File > Save As "newpage" That not only helps to keep your pages consistant, but makes it faster and easier to create new pages. So far, this has nothing to do with a Cascading Style Sheet. Now for CSS... Imagine that after you created 20-50 pages (using your "template" method above) and suddenly your client decides they want Verdana font instead of Arial... or the page background should be light blue instead of dark blue... Or you change your mind about your navigation buttons and you want them to look a little bit different, or you want to change your hyperlinks so that they don't have an underline when you hover over them... etc, etc, etc. Without CSS your best option is to use some kind of global find and replace feature or program... With CSS you open a single text document, change the detail you want to be different, and it magically applies to all of the pages... including your template page that will be used to create new pages from that moment on... Every page that links the CSS in the header will apply the styles, and changes to those styles... Check out this site: www.labordegroup.com The color blocks you see on the left are all done in CSS, so is the layout and positioning of the pages. If I wanted to change the layout and look of the pages I can modify my CSS page and suddenly all the changes I make to that one file are applied throughout the website. (There are only 4 images used in that entire website...) If I wanted to I can modify the CSS to place those colored blocks horizontally across the top, diagonally through the middle of the page...stacked on top of each other, etc. All from a single page in the site... So you can see that CSS is a very powerful tool for creating, managing and editing your page styles, layout, look, feel, etc. Even if you only use it for your BG color, fonts and links... you'll notice how easy it is to work with CSS... and you'll wonder how you ever got along without it. I highly recommend perusing this site for more on CSS: www.w3schools.com/css Good luck! [8|]
|
|
|
|