/    Sign up×
Community /Pin to ProfileBookmark

Is it possibe for table control.

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!

to post a comment
CSS

11 Comments(s)

Copy linkTweet thisAlerts:
@FangFeb 23.2009 — Yes, create a css document and link it to each page.
Copy linkTweet thisAlerts:
@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

Thanks!
Copy linkTweet thisAlerts:
@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?
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@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."

http://en.wikipedia.org/wiki/Server-side_scripting

Server-side languages include PHP, ASP/ASP.net, perl, etc.
Copy linkTweet thisAlerts:
@CharlesFeb 24.2009 — And let's hope you're not using those TABLEs for layout.
Copy linkTweet thisAlerts:
@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?
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@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?
Copy linkTweet thisAlerts:
@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.
Copy linkTweet thisAlerts:
@evan5authorFeb 24.2009 — oh ok, thanks charles, i will look into it
×

Success!

Help @evan5 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...