View Full Version : Links in my CSS


e_curls
03-08-2004, 12:48 AM
Hi, I want just created a new layout for my website and i wanted to know if anybody could help me with one div layer....

www.jadingheart.com (http://www.jadingheart.com)

on the right hand side where my links appear, it's really annoying and frustration having to type those out all the time and i was thinking if i am able to create an external css style sheet, am i able to create an external sheet for my links and content of my sidebar too?

i'm really frustrated and it's the only thing left to fix on my site....any help is appreciated ....thanks....

if you click on on of the links you will see the other layout i have which is the one i'm more concerned about because i have a lot of pages....

em
em@jadingheart.com

bourdelson
03-08-2004, 12:57 AM
You could use server side includes or PHP includes.

http://www.lissaexplains.com/html6.shtml#SSI

http://www.lissaexplains.com/html6.shtml#php

e_curls
03-08-2004, 01:23 AM
You could use server side includes or PHP includes.

http://www.lissaexplains.com/html6.shtml#SSI

http://www.lissaexplains.com/html6.shtml#php


thank you soooo much....

bourdelson
03-08-2004, 01:25 AM
'Tis not a problem. ;)

e_curls
03-08-2004, 01:42 AM
i followed the code and everything and everything works....however, when i put this code in my html

<!--#include file="http://www.jadingheart.com/menu.txt" -->

it won't work....they only way it will is if i copy all my menu.txt to every subdirectoty i have so i can type the code like this

<!--#include file="menu.txt" -->

which makes it annoying and still makes me have to update a lot....am i doing something wrong???

thanks

ps....i didn't need to remame my pages from .html to .shtml because my server supports the txt thing and it actually wouldn't let me change to .shtml with an editing feature...

kittycat
03-08-2004, 01:48 AM
Try this instead for your code...
<!--#include virtual="http://www.jadingheart.com/menu.txt" -->
Then you should be able to have the .txt file in one directory and call it from anywhere you want :)

bourdelson
03-08-2004, 01:49 AM
I think the only way it will work is if you copy and paste the menu.txt into every subdirectory, because it has to be <!--#include file="menu.txt" -->. Yeah, it might be a lot of work, but it's not as much as having to put the menu on every single page.

Edit: Eh, kittycat's suggestion is probably better to listen to. :lol:

e_curls
03-08-2004, 01:54 AM
ahhh...the perils of html....

thanks kitty...but the code didn't work....i guess i'll just do it the other way

thanks to you both for trying anyway

e_curls
03-08-2004, 06:18 AM
i just thought i should write that i figured out how to make it work...in case anyone else was having the same problem


<!--#include virtual="/menu.html" -->

is the right code....

em