I'm converting our www.cubpack54.org site over to CSS and I'm missing a couple things from frames in the old world. How do I do the following with CSS.... I have certain divs (e.g. subnavigation palettes) that are common across pages. In the old frame days, I'd make and manage one frame that would appear across many pages. Can I do a similar thing with CSS? I have a content div that displays the main content driven from various navigation. In the old frame days, I'd have a content frame and simply swap that one frame out (as driven from the various navigation tools.) Any advice from you all on how I handle those efficiency/ consisitency needs in CSS? thanks so much.
There isn't a way of doing this with CSS per se, but you could use a php include. There's a good tutorial on how to do this here.
Thanks, Erthy. What a great little tool. It was working fine until I converted the files to php. I'm having path problems- or something- when I deal with rollover images within the php that is included. My rollover links are broken. I know I'm close, but cant' quite figure out how to fix the links. Care to look, go to... http://www.cubpack54.org/tigers/tigers.php On the right side yellow div where it says "Cure I....", that is supposed to load this... http://www.cubpack54.org/Assets/rightcolumn.php rightcolumn.php works by itself, but not when placed inside tigers.php. Any ideas? Thanks so much for your great help!!
this is because of where you are referencing your image. When you include rightcolumn.php into tigers.php you have to take into consideration that your images should be linked as if they are inside tigers.php. so instead of Assets/rightcolumn.php it should be something like: ../Assets/Emailitus/Emailitus.png
Thanks, Cawlin. so it looks like I'm better off with a flatter directory structure to avoid this. As the tutorial suggested, keep the php in the same directory. Seems like it will get a bit tough to manage as the site grows, but it should be okay. Just knowing I have to do it makes the difference. Thanks so much!