To set up a script on each page, and control the columns(and content within columns) from the css page…so when you want to make an adjustment, you dont have to change it on every page… Please help, thanks!
@evan5authorFeb 24.2009 — #Hi I have css documents, but let say I have:
table.one
{color...
.....
.....}
I know how to control the appearance of the tables through css, but how would I control the words in that table as well? and be able to link the words from css...to all the pages for that one table. a little confused
@CharlesFeb 24.2009 — #No that you can't do, not with CSS.
Best practice would be to use some sort of server side scripting or includes. If none is available to you then you could use XHTML or other XML with XSLT. What server side scripting do you have available?
@evan5authorFeb 24.2009 — #i'm not sure what server side scripting means...i just use notepad to make scripts, but I am starting to have more and more pages, and it is becoming tedious to go to every sing page to add somthing to one of the tables.
@MaydayFeb 24.2009 — #(from Wikipedia): "Server-side scripting is a web server technology in which a user's request is fulfilled by running a script directly on the web server to generate dynamic web pages."
@evan5authorFeb 24.2009 — #yea i am using tables for layouts, but how else would I make my category table on the left f the page, and my main stuff in the middle, without using tables. Do I have to purchase PHP to use it?
@CharlesFeb 24.2009 — #No, it's free but we're talking about a scripting engine that runs on the server. Unless you're running your own server you need to contact your hosting provider and find out what's available. And while you are waiting for a response, start a separate thread on this forum. Post a link to your current layout and the good people here will show you how to layout your page.
@evan5authorFeb 24.2009 — #charles, what is the advantage of not having tables as a layout? my site has been running great with my current layout...but on another not, I can control contents of my "catagory table" on all pages with php, so i dont have to go to each page to change it?
@CharlesFeb 24.2009 — #With PHP you can do anything but create peace in the Middle East, or Europe, or any other place on the Earth.
It's a long story but the short of it is that TABLEs are intended to associate date with categories. Non-graphical browsers like audio and Braille browsers, and some hand-helds, have trouble when you mis-use TABLEs that way. And doing it right is easier and easier to maintain.