0

I want change the theme of my webpage, I need to do it for an asp.net page. what is the best way to change the looks of a web page. Just like that of changing the theme. Please suggest the method and explain it

3
  • i hope this link helps you: 4umi.com/web/css/changesheet.php Commented Dec 17, 2012 at 7:00
  • you can use php or javascript Commented Dec 17, 2012 at 7:01
  • @ChetanaKestikar Thats the simplest way, i worked it out in a different way. Thank you . Commented Jan 22, 2013 at 5:54

3 Answers 3

2

Asp.net Skins is a great way to change the layout and style of a site..

Sign up to request clarification or add additional context in comments.

Comments

0

You will need to use multiple ASP.NET themes that contain specific implementations of css/skins. In order to change the theme property of your page you may do so in Page_PreInit event. Just assign the Page.Theme property at runtime with the required theme name.

Comments

0
<link href="style.css" rel="stylesheet" type="text/css" id="mycss" />

$(document).ready(function() 
{
   $('#mycss[rel=stylesheet]').attr('href', 'style2.css');
});

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.