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 is user control in asp.net?

719


What are the Types of objects in ASP

758


What is meant by asp.net?

710


What is the difference between exe and dll?

775


Can we make activex dll also ti execute in some process as that of client ? How can we do?

4449


Where the viewstate is stored after the page postback?

847


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

844


Explain the differences between managed and unmanaged code?

691


How can we update records in gridview?Is there any appropriate code for it?

1827


What is content page in asp net?

689


When maintaining session through sql server, what is the impact of read and write operation on session objects?

747


What is the difference between a default skin and a named skin?

808


Describe how ASP.NET maintains process isolation for each Web application?

797


Explain the difference between asp.net mvc and asp.net webforms

778


Differentiate strong typing and weak typing

714