Click here to Skip to main content
12,395,192 members (67,216 online)
Click here to Skip to main content
Add your own
alternative version

Stats

4.4K views
Posted

Relative Path Solution for Master Pages

, 23 Feb 2012 CPOL
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
Project 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

You may also be interested in...

Comments and Discussions

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