LaserGecko
12-28-2007, 11:15 AM
Hi everyone,
I'm working on my first new website in quite awhile and definitely the first Web 2.0 one. Of course, I've been researching CSS and think that it's the way to go to provide the easiest way to control the look and feel of the entire site. I've always done my pages in a "code assistant type" program of one sort or another, rather than a WYSIWYG and am far from an HTML expert, but I do want to be able to fix things in Notepad. I've played around with Dreamweaver CS3, but was a bit frustrated by it. Now that I understand it all a little better, I think I know what I need to do. Please let me know if I am understanding this correctly:
The CSS files control the look of individual elements on the page. They do not control the content.
Frames bad, CSS good.
To use the examples on this site, copy the CSS to a style sheet and use the HTML code in the page while modifying as necessary for any directory issues for graphics, etc.
Each page has to have the header, columns, footer, etc. html code included in it. If you have ten pages, you have ten copies of the same information to change.
You can use Templates in a web design program to do this, then Search and Replace, or you can use Server Side Includes.
My server (hostmonster) allows SSIs, so I could have a "header.html" file and a statement like
<!--#include virtual="/header.html" --> in each page.
Can that "header.html" contain the DIV info or does the DIV have to go in the actual page to wrap around what the server inserts? I think it's the first case.
I'm pretty darned good with Filemaker Pro, so it's getting pretty tempting to make a new database to take care of all of this. It could automatically generate the "navigation.html" file when I add a new page.
Any thoughts? Am I reinventing the wheel here? It's not really going to be that big of a site, but I'd like to do it the right way.
When do you use a seperate .css file? Is it just a convenience thing?
If anyone knows a Fantastico script that can do this, let me know. I'm still learning my way around all this fancy new CPanel stuff.
Thanks in advance!
I'm working on my first new website in quite awhile and definitely the first Web 2.0 one. Of course, I've been researching CSS and think that it's the way to go to provide the easiest way to control the look and feel of the entire site. I've always done my pages in a "code assistant type" program of one sort or another, rather than a WYSIWYG and am far from an HTML expert, but I do want to be able to fix things in Notepad. I've played around with Dreamweaver CS3, but was a bit frustrated by it. Now that I understand it all a little better, I think I know what I need to do. Please let me know if I am understanding this correctly:
The CSS files control the look of individual elements on the page. They do not control the content.
Frames bad, CSS good.
To use the examples on this site, copy the CSS to a style sheet and use the HTML code in the page while modifying as necessary for any directory issues for graphics, etc.
Each page has to have the header, columns, footer, etc. html code included in it. If you have ten pages, you have ten copies of the same information to change.
You can use Templates in a web design program to do this, then Search and Replace, or you can use Server Side Includes.
My server (hostmonster) allows SSIs, so I could have a "header.html" file and a statement like
<!--#include virtual="/header.html" --> in each page.
Can that "header.html" contain the DIV info or does the DIV have to go in the actual page to wrap around what the server inserts? I think it's the first case.
I'm pretty darned good with Filemaker Pro, so it's getting pretty tempting to make a new database to take care of all of this. It could automatically generate the "navigation.html" file when I add a new page.
Any thoughts? Am I reinventing the wheel here? It's not really going to be that big of a site, but I'd like to do it the right way.
When do you use a seperate .css file? Is it just a convenience thing?
If anyone knows a Fantastico script that can do this, let me know. I'm still learning my way around all this fancy new CPanel stuff.
Thanks in advance!