1 reply [Last post]
oli22
oli22's picture
Offline
newbie
Last seen: 8 years 51 weeks ago
Timezone: GMT-4
Joined: 2011-08-15
Posts: 2
Points: 3

I am adding a tube script in a subfolder of an existing site. This script is kind of complex and uses .tlp extensions, things i know nothing about.The header is a kind of php include, actually its name is header.tlp and it is used for all headers of all pages of the script.

There are 2 sections with css directories on my site, the css style folder of the original site and the css folder that is in the subfolders of the script i am adding.To make things more easy i have made some of the css External style sheets in header for the script get css from original site's folders.So some external style sheet have a link rel="stylesheet" type="text/css" href="../../../maincss/Index.css" / Notice the ../../../

All was doing well until i bumped into a weird situation where my css in header of the script do not connect to certain pages for reasons i may never know, so the only quick solution i can think of is creating duplicates of the disfunctional css sheets in the regular css of the script in subfolder.
This way the header.tlp would have the same style sheet (Index.css)twice in different places
1)link rel="stylesheet" type="text/css" href="../../../maincss/Index.css"
2)link rel="stylesheet" href="/searchEngine/templates/default-pink/css/Index.css

I don't have a choice since the script always uses the same header.tlp
WOULD THAT BE BAD? would it take more time to upload landing page, or what ever problem???

(My other option would be to move all css of main site to script's css folder, but that would be a mess
i hope its ok if i can just have duplicates as mentioned above)

oli22
oli22's picture
Offline
newbie
Last seen: 8 years 51 weeks ago
Timezone: GMT-4
Joined: 2011-08-15
Posts: 2
Points: 3

more

Would it be better, ok, or still bad if i added the same style sheet in header under another name?