1.11M Members

HTML 5 Master Page

 
0
 

Hello... I stumbled upon a template created using html 5 and css3 and was wondering if it could be used as a master page... I know the normal method where we will have a css file and one index.html file whose code should be copied under ,aster page.. the css 3 template i downloaded has miltiple html files. is there any specific method for adding this as a master page??

 
0
 

A master page have a single a html file (.aspx). But the master page can hold any number of user defined controls or you can have multiple nested master pages.
It really depends on what you are trying to do.

 
0
 

I stumbled upon a template created using html 5 and css3 and was wondering if it could be used as a master page

Of course... An aspx master page is not dependent on any specific HTML/CSS version. Open your master page and modify the <DOCYTPE> declaration as well as any other specific HTML5 element that you need to include, and also include your common external stylesheets as well.

Use/Create addtional content areas as needed so that the other aspx pages that will use this master page as their template.

 
0
 

@JorgeM
So for asp.net MVC4 we can use any page for a master page as long as it's named correctly? Or are you saying that we take the default master page and add additional content areas then add our own 'master pages' to those content area's.

I'm new to asp.net and the concept of a master page is a bit confusing - it seems much like a CSS file - but it's not.

 
0
 

@java.beansbureo- yes, master pages can be nested within other master pages.

 
0
 

@AlwMonteiro & JorgeM

Thanks!

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article