:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Microsoft Related >> ASP.NET


 Visual Basic interview questions  Visual Basic Interview Questions (615)
 C Sharp interview questions  C Sharp Interview Questions (722)
 ASP.NET interview questions  ASP.NET Interview Questions (1444)
 VB.NET interview questions  VB.NET Interview Questions (151)
 COM+ interview questions  COM+ Interview Questions (41)
 ADO.NET interview questions  ADO.NET Interview Questions (199)
 IIS interview questions  IIS Interview Questions (86)
 MTS interview questions  MTS Interview Questions (5)
 Crystal Reports interview questions  Crystal Reports Interview Questions (62)
 BizTalk interview questions  BizTalk Interview Questions (34)
 Dot Net interview questions  Dot Net Interview Questions (861)
 Exchange Server interview questions  Exchange Server Interview Questions (103)
 SharePoint interview questions  SharePoint Interview Questions (25)
 WCF interview questions  WCF Interview Questions (8)
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions (193)
How do you use css in
 Question Submitted By :: ASP.NET
I also faced this Question!!     Answer Posted By  
# 1
1 . First u create a css file
2 . write below line between <head></head>
<link href="style.css" rel="stylesheet" type="text/css" />
that will aplay to partuclar page level
Is This Answer Correct ?    92 Yes 15 No
# 2
Its Cascading Style Sheet. Allows to set different styles
for the controls that we are using in
Is This Answer Correct ?    84 Yes 12 No
# 3
I think css code will have to write in HTML tag code. And
then this is not allow to write in code using C# or VB.
Is This Answer Correct ?    72 Yes 42 No
# 4
Firstly, we create CSS file in ASP.Net. And then write CSS
code. And then we can call CSS file from html page. the

<%@ Language C# style"xxx.css">
Is This Answer Correct ?    48 Yes 27 No
# 5
* Follow Belowe steps
1) Create CSS File
2) Add App_Theme Folder in Solution Explorer
3) Create New Folder named Theme in App_Theme folder
4) Put Css into Theme Folder
5) in Page Directive of any pages of .net put beolwe line
<%Page Theme="Theme" %>
Is This Answer Correct ?    30 Yes 9 No
Amit Patel
# 6
1. You can create stylesheet in solution explorer
2. write the css code
3. write and include this code in tag page
<link rel="stylesheet" type="text/css"
href="....\...\Sample.CSS" />
Is This Answer Correct ?    18 Yes 9 No
# 7
1. note down the css code on notepad & add in the project. go to on project web page's source code then write in
<head> tag
<link rel="stylesheet" type="text.css" href="file.css"/>
3. Run the project and see css will be display
Is This Answer Correct ?    5 Yes 6 No
Pradeep Goyal
# 8
first including css file in head"text/css" then
using <style> tag.then within style tag defining class u
want to .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

Other ASP.NET Interview Questions
  Question Asked @ Answers
if i have a web page, and after the postback i dont to maintain the viewstate. How can we maintain in web application? CGI 4
How can i include both C# and classes in same solution?   2
With out Web.config can we executes the application? Valtech 9
How can you provide an alternating color scheme in a Repeater control?   4
Difference between Dataset , ADO Record Set & ADO Data Reader? NIIT 3
How do you create master pages in Wipro 2
hi im shailendra singh my question is how we deploye the data base HCL 3
Difference between ADO.Net 1.1 and ADO.Net 2.0 ? Value-Labs 1
what are partial classes and their use? Microsoft 3
what is Master pages in what is the advantages and disadvantages?   3
What is the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"? Innvectra 1
How to set/get parent page values in child page in Wipro 3
For more ASP.NET Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::