Click here to Skip to main content
12,076,206 members (49,638 online)
Rate this:
 
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 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 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160208.1 | Last Updated 16 Feb 2011
Copyright © CodeProject, 1999-2016
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