ASP.NET Master Page Tutorial Part-9 (Redifining Body Tag)

In previous post ASP.NET Make Master Page Tutorial Part -8 (Bottom Navigation Links ) i show you how to add Bottom Navigation links and another Div which holds another ContentPlaceHolder control in the master page.
The big advantage with CSS is that you can create your 'own' tags by creating classes.In Microsoft expression web we can redefine the HTML tags like BODY, P, STRONG etc more easier, more logical and leaner.
Here i show you how to redefine css body tag.It will redefine all of the text on the display area of page.

For this go to manage style > New Style

Microsoft expression web tutorial for redefine body tag

Name this style to body.In Font category choose font-family,font size etc.. whatever you want.Click Ok.Redefining body tag will effect on everything in display area of page.

Microsoft expression web tutorial for redefine body tag

Here is example of Tahoma font.you can see whatever i write is in Tahoma font also you see no changes in navigation links,bottom navigation links font because they have there own styles defined previously.
Redefining body tag effect on colors,text size, text font etc.., as long as there is no other style specified.
Microsoft expression web tutorial for redefine body tag
Next part i will show you in another Tutorial.ASP.NET Master Page Tutorial Part-10 (Moving Css To External Css File) Using Expression Web

Share this

Related Posts

There was an error in this gadget