Forum Moderators: not2easy

Message Too Old, No Replies

New to CSS

         

norbert_ds

6:04 am on Apr 29, 2009 (gmt 0)

10+ Year Member



Hi all,

I'm pretty much new to this forum and to CSS. I was wondering if CSS was the way to go for me.

I've done a website using dreamweaver. I have a template file which I've used as a base for the header and footer areas of my pages. The annoying part is that even though I update this dreamweaver template, (unless I am doing something wrong, I have to physically attach the new dreamweaver template to each and every page.

Can CSS be the answer?

Thanks in anticipation,

Norbert

swa66

8:13 am on Apr 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld! [webmasterworld.com]

CSS allows -when used as such= to separate layout from content. The content goes in to the html files, these files reference the CSS file(s) and the CSS controls how the content is rendered on screen/paper/...

A third part is to automate some of the content: I think dreamweaver can do it, personally I prefer to use SSI (server side includes) to have content like menus, footers etc in a way that you can update it across all pages without editing each of them.

Take a look at the CSS crash course [webmasterworld.com] to get a first impression.

norbert_ds

10:17 am on Apr 29, 2009 (gmt 0)

10+ Year Member



Thank you for your quick response. So, I gather that what you are saying is that my situation calls for SSI rather than CSS is it?

Cheers
Norbert

CSS_Kidd

1:01 pm on Apr 29, 2009 (gmt 0)

10+ Year Member



BTW just to back swa up... I love dreamweaver but I absolutely hate how their templates work. Try to stay away from using them. They can cause more of a problem then help.

norbert_ds

6:14 am on Apr 30, 2009 (gmt 0)

10+ Year Member



Exactly the reason I was here looking for some help to decide whats the best approach!

g1smd

9:49 pm on Apr 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Rather than SSI, I prefer to use PHP includes.

So, 'includes' are used to build up a page of HTML code and content from various chunks and fragments.

Additionally, all the styling for the page as a whole goes in an external CSS file which is linked from the HEAD of every page.

This modular approach allows for site-wide changes to be incorporated in minutes.