How do you use css in asp.net?

Answer Posted / akriti

first including css file in head tag.style="text/css" then
using <style> tag.then within style tag defining class u
want to apply..like .style1{font:red}
then including this class in particular tag..
<h1 class=style1>This is css</h1>

Is This Answer Correct ?    15 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the ihttphandler and ihttphandlerfactory interfaces ?

514


Fetch one page value to another page without using state-managment ?

533


What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?

528


What is the postback property in asp.net?

543


Why do we use sessions?

577






What is asp.net version?

530


What is the advantage of using Windows authentication in a Web application?

559


Mention the namespace that is used to include .net data provider for sql server in .net code?

507


What is difference between cache and session?

500


What is session and application variable in asp net?

462


Is there any property names “isnavigating”?

577


Explain about asp.net caching?

577


Why Unload event of MasterPage Calls first in ASP.net ?

588


Explain the significance of routing? : asp.net mvc

540


Define web.config in .net?

639