Click here to Skip to main content
15,886,004 members
Articles / Web Development / XHTML

A Simple Way to Dynamically Change Style of Web for Each Browser

Rate me:
Please Sign up or sign in to vote.
3.73/5 (8 votes)
6 Jul 2009CPOL3 min read 44.3K   749   21  
This is a simple ASP.NET web application that can determine how users can view a single page with single content in the many browsers with custom presentation and styling
body 
{
	background-color:Fuchsia;
	font-family:'Times New Roman';
	font-size:medium;
	font-weight:normal;
	margin:0px;
}
#mainContent
{
	padding-top:10px;
	padding-left:20px;
	padding-bottom:10px;
	background-color:Orange;
}
#header
{
	float:none;
	background-color:Silver;
	font-style:normal;
	font-size:large;
	margin:20px;
	padding:10px;
}
#info
{
	background-color:#fc4322;
	font-size:small;
	float:left;
	color:Black;
	width:500px;
	height:100px;
	padding:10px;
	margin:10px;
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Software Developer Atra Inc
Iran (Islamic Republic of) Iran (Islamic Republic of)
Software developer and programming with .Net framework tech.
Managing Director of the Atra Inc in Tabriz/Iran that serves some Software Solution's.

Comments and Discussions