Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Respected Experts,
 
I am a beginner. Please explain to me how to begin with ASP.net. I am confused.
 
I want to develop a dynamic web site. For which I am going to use a SQL Server database.
 
Now please tell me what will be the role of CSS and a Master Page. I am confused.
 
if there is Master Page then why use CSS?.
 
Also, browser compatibility issues and please tell me shall I use CSS and Master Page in same project, is it possible?
Posted 15-Feb-11 0:29am
Edited 15-Feb-11 0:50am
jim lahey24.9K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Regarding Master page and CSS: The master page generally contains the CSS data that is general to a collection of pages: A single change to the Master page affects all the pages. So, yes, you can (and do) use CSS in a master page in a single project.
 
CSS allows an overall style (the background colour for example) to be inherited by all the styles below that: so you specify it once and all other parts of the page inherit it.
  Permalink  
Comments
SAKryukov at 15-Feb-11 22:14pm
   
Good, my 5.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you're a complete beginner at ASP.net I highly recommend going to:
 
http://www.asp.net/
 
and watch a few videos first. then you'll have a much better idea why CSS and Master Pages are useful, if not essential. you might be confused now, but invest a little time and things will get better.
 
good luck!
  Permalink  
Comments
SAKryukov at 15-Feb-11 22:15pm
   
Even better, my 4.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Hope Asp.Net[^] will give you an idea.
 
Better refer some online books and practice then start your work.
  Permalink  
Comments
SAKryukov at 15-Feb-11 22:16pm
   
Not bad, but I would prefer asp.net
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

Hi, CSS & Masterpage are two different Concepts.
Consider a scenario where a web application / website in which Header, Footer & Navigation Menu of web page/form is common throughout the application. In this case u use Master page.
 
CSS is Mainly used for styling the web pages/application.
 
U can use both master page & css in same project.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 230
1 PIEBALDconsult 150
2 DamithSL 125
3 BillWoodruff 108
4 Garth J Lancaster 90
0 OriginalGriff 5,790
1 DamithSL 4,601
2 Maciej Los 4,012
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,195


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 16 Feb 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100