asp.net standar template for 1024 monitors

can someone share a basic / standar asp.net with masterpage layout with css optimized for 1024 resolutions?
LVL 9
TonyRebaAsked:
Who is Participating?
 
sbickerstaffCommented:
I use something like this (hope it's right as my code's in work and I can't remember everything from that project as it was earlier in the year):

Site.Master page
<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
  </head>
  
  <body>
    <div id="container">
      <div id="content">
        <asp:contentplaceholder id="MainContent" runat="server" />
      </div>
    </div>
  </body>
</html>

Open in new window


index.aspx
<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="Default.aspx.cs" title="Untitled Page" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
</asp:Content>

Open in new window


then in your css file:
body {
  margin: 0;
  padding: 0;
  font-family: verdana, arial, helvetica;
  font-size: 82%;
  color: #000000;
}
#container {
  width: 960px;
  margin: 0 auto 0 auto;
  text-align: center;
}
#content {
  text-align: left;
}

Open in new window

0
 
COBOLdinosaurCommented:
This should help http://bit.ly/tiz2ON


Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.