Click here to Skip to main content
11,488,877 members (78,237 online)
Click here to Skip to main content

Relative Path Solution for Master Pages

, 23 Feb 2012 CPOL 4K
Rate this:
Please Sign up or sign in to vote.
You can use the full url, if you have url rewrite. And this will always work.
You can use the full url, if you have url rewrite.

<link href="http://localhost/website/CSS/Main.css" rel="stylesheet" type="text/css" />

And this will always work.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Mukund Thakker
Technical Lead
India India
Tech Lead
MCTS - .NET Framework 4.0, Web Applications

Blog : http://thakkermukund.wordpress.com
Twitter@thakkermukund

Don't code today, what you can't debug tomorrow!
Everything makes sense in someone's mind
Follow on   Twitter

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 23 Feb 2012
Article Copyright 2012 by Mukund Thakker
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid