Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Relative Path Solution for Master Pages

, 23 Feb 2012
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
Software Developer
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 | Mobile
Web04 | 2.8.140827.1 | Last Updated 23 Feb 2012
Article Copyright 2012 by Mukund Thakker
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid