/    Sign up×
Community /Pin to ProfileBookmark

CSS and DIVs

I have a single style sheet for my entire website and the pages have identical divisions on the left for links, site navigation, etc. However, I want to make it simpler and use the style sheet to control that division so that I only have to update one page instead of every page individually.

Is this possible with css or will I need to use a different method?

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@toicontienFeb 16.2007 — Do you embed the style sheet code on each page? If so, you'll really like linking to style sheets.
Copy linkTweet thisAlerts:
@RixiiauthorFeb 16.2007 — No, I use one style sheet and link to it in the head command. My problem is that I want to update the actual content of the division without having to do each page individually. I plan to use flash to make a menu eventually but right now I don't have the money to buy the program.
Copy linkTweet thisAlerts:
@ray326Feb 17.2007 — You'll need to use some kind of server side include.
Copy linkTweet thisAlerts:
@mrtom100Feb 17.2007 — php is good to do something like this, i have done a whole navigation using it, the include command a bit like the link to the css file you just use the include () command on each page in the correct format and it prints what ever is in the php file on every page with the include command entered on it. So if i wanna up date my navigation i update the nav.php file only the rest follow suit.
Copy linkTweet thisAlerts:
@RixiiauthorFeb 17.2007 — ray236: Actually..I don't know what that is yet.. ^_^;;

mrtom100: Alright, I'll look into that. I've never used php but it's about time I learned anyway.. Thanks for the tip.
×

Success!

Help @Rixii 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.18,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

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