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

Which property is used to identify the Page is Post Back in ASP.NET?

561


Is asp.net web forms dead?

513


What is the use of execute non query in asp.net?

485


Can the dictionary object be created in client?s scope ?

1992


How does viewstate work?

578






What is preprocessor in .net? Where it use?

532


What are the three parts of an http response?

534


Explain the working of passport authentication.

545


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

603


Which control has default post back is enabled(true)?

611


Differentiate strong typing and weak typing

530


What is the default authentication mode for asp.net?

565


What parameters can you pass in the url of the api?

663


What is a response cookie?

612


What is the life-span of the items in the viewstate?

503