Preserved Topic: Weird question. (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 06-02-2001 18:31
OK, I am designing a webpage in php. Well the page is not totally in php but i use the index.php file to call 3 other html files with the include() function. The problem I have run into is were to relative link my CSS. Should it be in the main index.php file or in one of the other 3 html files that compose the webpage? |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-02-2001 18:51
I am wondering why you are using a single page to include 3 other pages. |
Paranoid (IV) Inmate From: other places |
posted 06-03-2001 17:35
Agreed the the reference to the CSS needs to go in the HEAD of the document, whrever that is. |
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 06-04-2001 01:40
I totally agree with you Linear. I had to design my site this way for the same fact as I had way too many nested tables and it made updates and changes a bitch. I designed my site a bit differently though. I am not using a header - index - footer scheme. I am still using tables but uinserting other html files into it. Is there something I am doing wrong, do you think it should be done another way? any suggestions? |
Paranoid (IV) Inmate From: other places |
posted 06-04-2001 05:22
1) get your layout tightened up without using includes. Tighten up some more. |
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 06-04-2001 17:00
That is exactly what I am doing. The maintanence on the old site was horrible. To change one link on the navi bar I had to edit 20 pages of html. The way I have it set now I would only have to edit one. Thanks for the advice Linear, I found it to be very informative and useful. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-05-2001 00:33
Skate |
Bipolar (III) Inmate From: Small Patch of Grass in CT |
posted 06-06-2001 01:40
Thanks for the advice. This helped, when I finish I'll post the results. |