Steps for creating resolution 1024x768
Step-1: Add a new Webform name as "Pageresolution.aspx" using Solution explorer.
Step-2: Add new Stylesheet page name as "StyleSheet.css" using Solution explorer.
Step-3: Add some class in StyleSheet.css file.
Step-5 : Drag and drop your "Stylesheet.css" file from solution explorer into <head> tag
your page look like this
Step-1: Add a new Webform name as "Pageresolution.aspx" using Solution explorer.
Step-2: Add new Stylesheet page name as "StyleSheet.css" using Solution explorer.
Step-3: Add some class in StyleSheet.css file.
body {
background-color : green ;
}
.page {
background-color :white ;
margin : 0px auto 0px auto ;
width : 1024px;
}
Step-4 : Open "Pageresolution.aspx" page in source modebackground-color : green ;
}
.page {
background-color :white ;
margin : 0px auto 0px auto ;
width : 1024px;
}
Step-5 : Drag and drop your "Stylesheet.css" file from solution explorer into <head> tag
<head runat="server">
<title>page resolution 1024x768</title>
<link href="StyleSheet.css" rel="stylesheet" />
</head>
Step-6: Add class in <div> tag after <form> tag<title>page resolution 1024x768</title>
<link href="StyleSheet.css" rel="stylesheet" />
</head>
<form id="form1" runat="server">
<div class ="page">
</div>
</form>
Step-7 : Now open "Pageresolution.aspx" in Design mode<div class ="page">
</div>
</form>
your page look like this
Tidak ada komentar:
Posting Komentar