Click to See Complete Forum and Search --> : CSS and DIVs
Rixii
02-16-2007, 12:48 PM
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?
toicontien
02-16-2007, 03:22 PM
Do you embed the style sheet code on each page? If so, you'll really like linking to style sheets (http://www.webdeveloper.com/forum/showpost.php?p=464133&postcount=10).
Rixii
02-16-2007, 04:02 PM
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.
ray326
02-16-2007, 09:48 PM
You'll need to use some kind of server side include.
mrtom100
02-17-2007, 07:07 AM
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.
Rixii
02-17-2007, 10:52 AM
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.