473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

StyleSheets

The following link works correctly in the top level directory however pages
in any subdirectories are not linked to the styles, is there a way to
specify the path of the MyStyles as being at the top level as opposed to
duplicating MyStyles.css in every sub directory ?

<link href="MyStyles.css" type="text/css" rel="stylesheet" />
Thanks

Murphy
Nov 22 '05 #1
2 1469
Hi Murphy,

You can give like this

<link href="../MyStyles.css" type="text/css" rel="stylesheet" />

OR

<link href="http://www.yoursite.com/MyStyles.css" type="text/css"
rel="stylesheet" />

I hope this helps

--
Regards,
Anand N
Microsoft MVP
NetAns Technologies
www.netans.com
Web hosting Redefined
---------------------------------
www.learnXpress.com
www.learnXpress.com/forums
"Murphy" <mu****@murphy.com> wrote in message
news:#L**************@TK2MSFTNGP12.phx.gbl...
The following link works correctly in the top level directory however pages in any subdirectories are not linked to the styles, is there a way to
specify the path of the MyStyles as being at the top level as opposed to
duplicating MyStyles.css in every sub directory ?

<link href="MyStyles.css" type="text/css" rel="stylesheet" />
Thanks

Murphy

Nov 22 '05 #2
Hi Murphy,

You can give like this

<link href="../MyStyles.css" type="text/css" rel="stylesheet" />

OR

<link href="http://www.yoursite.com/MyStyles.css" type="text/css"
rel="stylesheet" />

I hope this helps

--
Regards,
Anand N
Microsoft MVP
NetAns Technologies
www.netans.com
Web hosting Redefined
---------------------------------
www.learnXpress.com
www.learnXpress.com/forums
"Murphy" <mu****@murphy.com> wrote in message
news:#L**************@TK2MSFTNGP12.phx.gbl...
The following link works correctly in the top level directory however pages in any subdirectories are not linked to the styles, is there a way to
specify the path of the MyStyles as being at the top level as opposed to
duplicating MyStyles.css in every sub directory ?

<link href="MyStyles.css" type="text/css" rel="stylesheet" />
Thanks

Murphy

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: jason baumunk | last post by:
I author applications in php which use external stylesheets. When viewed through ie 6, netscape 6, et al. occassionally the stylesheets will not load or be applied. Has anybody encountered this...
13
by: Toby A Inkster | last post by:
www.authoring.stylesheets] For ages I have provided links to alternate stylesheets from my pages as per W3C recommendations: <link rel="stylesheet" href="baz" type="text/css" title="Baz"...
6
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: twice a week (mondays and thursdays) Last-modified: March 10, 2001 Version: 1.95 URL: http://css.nu/faq/ciwas-mFAQ.html Maintainer:...
2
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
0
by: Jan Roland Eriksson | last post by:
Archive-name: www/stylesheets/newsgroup-faq Posting-Frequency: once a week Last-modified: 2004-07-26 Version: 2.00 URL: <http://css.nu/faq/ciwas-mFAQ.html> Maintainer: Jan Roland Eriksson...
2
by: Anna | last post by:
Hi all. I want to create a noframes version of a certain page (not written by me), that has three frames, each loading a page with few external stylesheets. If I copy the content of each...
2
by: Mr X | last post by:
I'm a few weeks new to JS, and am having a problem. I have a simple INTERNAL style in a web page and I know that style is working. The problem arises when I try to run a script that changes one of...
5
by: Richard L Rosenheim | last post by:
I need to create some XML stylesheets to transform some XML data into HTML pages. So, I'm looking to improve my understanding of XML stylesheets. I do have a book, "Professional Visual Basic 6...
5
by: Gardar | last post by:
I have a .net webservice, developed with c++ managed extensions. The websrvice returns an xml-document with a reference to a server side xml-stylesheet in the format <?xml-stylesheet href =...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.