Click here to Skip to main content
11,492,523 members (61,475 online)
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 Sergey Alexandrovich Kryukov 399
1 Maciej Los 266
2 KarstenK 210
3 CPallini 208
4 Sascha Lefèvre 195
0 Sergey Alexandrovich Kryukov 9,943
1 OriginalGriff 8,610
2 Sascha Lefèvre 3,609
3 Maciej Los 3,372
4 Richard Deeming 2,440


Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 16 Feb 2011
Copyright © CodeProject, 1999-2015
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