/    Sign up×
Community /Pin to ProfileBookmark

linking css tables?

I know how to link files with CSS. Like a css file on the server that specifies the font weight, face, size, etc. Is it possible to make a table in the original css file and link it to a webpage on the server, so I don’t have to make hundreds of tables and I can just type in a variable box3row1=”This text goes to screen” on the webpage that the viewer is viewing? Does this make sense?

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@aaronbdavisNov 04.2005 — I am not sure I understand you, but it seems like you want to have dymanic content. You don't write a table in CSS; you write the rule for [B]displaying[/B] a table. With that in mind, if I understand your question, yes it is possible: you need to use either a database or XML. A database I can explain some of; XML I am less clear on.
Copy linkTweet thisAlerts:
@ray326Nov 04.2005 — I think what you're really looking for is server side includes or templating using CGI or a server parsed page like PHP or ASP.
Copy linkTweet thisAlerts:
@deraNov 06.2005 — php has a table generator search on it on www.php.net
Copy linkTweet thisAlerts:
@deraNov 06.2005 — sorry i cant seem to find the link on that i may be wrong
Copy linkTweet thisAlerts:
@kiathauNov 15.2005 — Use <include> to pull content from a php or asp page.

If you are using ASP.NET, build a user control and drop it on your design.

Kiat Hau

http://webidiot.blogspot.com, [I]Learn how to build a web site[/I]
×

Success!

Help @jaa 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

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