Forum Moderators: not2easy
I know that CSS can help change attributes such as fonts, etc. throughout the entire site by using external style sheets. But can one create CSS files for tables or cells?
For example, I want to modify the footer b/c I want to add a link, or whatever. But since the footer is the same on all the pages, I need to go into all the files to modify all the footers. Instead is there a way using CSS, I can modify one file and it updates all the footers on all the pages?
b/c I want to add a link
no.
Adding a link would be adding page content which should be handled in the HTML. CSS describes how that content is presented.
create CSS files for tables or cells
absolutely. You can use CSS to very powerfully control how all tables cells (or any other elements) appear across your site.
Adding a link would be adding page content which should be handled in the HTML
.example:before{content: "Example: ";} Things like a big quote in a quote class could be pure layout, just like a graphic of the character can be.
IE6 just ignores that, no surprise there.
The solution seems to be indeed SSI (Server Side Includes), alternatively generate the pages dynamically or use a content management system that generates static pages before "uploading" them.
CSS and a little bit of simple PHP play very well together.