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

Relative Path Solution for Master Pages

By , 23 Feb 2012
Rate this:
Please Sign up or sign in to vote.
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.


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

About the Author

Mukund Thakker
Technical Lead
India India
Software Developer
MCTS - .NET Framework 4.0, Web Applications
Blog :
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
Web02 | 2.8.140415.2 | Last Updated 23 Feb 2012
Article Copyright 2012 by Mukund Thakker
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid