Fix centering problem on IE6 and cleanup css

This commit is contained in:
David Bartley 2007-11-21 18:28:40 -05:00
parent 1da2400d7b
commit 3f1f998bc4
2 changed files with 15 additions and 33 deletions

View File

@ -1,11 +1,7 @@
body {
background: white;
color: black;
font-family: serif;
font-size: 12px;
width: 760px;
margin: 0 auto;
padding: 0 20px;
text-align: center;
}
hr {
@ -15,19 +11,15 @@ hr {
height: 1px;
}
h1 {
font-size: x-large;
}
h2 {
font-size: large;
font-family: 'Lucida Grande', Sans, Sans-serif;
font-size: 18px;
text-transform: uppercase;
border-left: 10px solid #ff9900;
padding-left: 10px;
color: #000055;
}
h3 {
font-size: medium;
font-size: 16px;
color: #0055aa;
}
@ -55,8 +47,6 @@ td.button {
}
td.newsdate {
background: #eeeeff;
font-family: sans-serif;
font-size: x-small;
text-align: center;
font-weight: bold;
}
@ -66,14 +56,10 @@ td.newsitem {
}
td.newsauthor {
background: #eeeeff;
font-family: sans-serif;
font-size: x-small;
text-align: center;
}
td.eventdate {
background: #eeffee;
font-family: sans-serif;
font-size: x-small;
text-align: center;
font-weight: bold;
}
@ -83,15 +69,11 @@ td.eventitem {
}
td.eventroom {
background: #eeffee;
font-family: sans-serif;
font-size: x-small;
text-align: center;
}
th.news {
background: #222255;
color: white;
font-family: sans-serif;
font-size: x-small;
text-align: left;
}
th {
@ -109,15 +91,19 @@ img {
border-width: 0;
}
div.content {
font-family: 'Lucida Grande', Sans, Sans-serif;
font-size: 12px;
width: 760px;
margin: 0px auto;
text-align: left;
}
div.footerlogo {
float: right;
padding-left: 5px;
}
p {
font-family: 'Lucida Grande', Sans, Sans-serif;
}
div.webcam {
text-align: center;
}
@ -150,7 +136,7 @@ div.menubar {
text-align: center;
height: 75px;
vertical-align: middle;
font-size: 11px;
font-size: 12px;
text-transform: uppercase;
}
@ -167,12 +153,10 @@ div.menuitem a {
padding: 5px;
margin: 0;
text-decoration: none;
font-weight: 400;
font-family: 'Lucida Grande', Sans, Sans-serif;
font-weight: bold;
}
div.menuitem a:hover {
font-weight: 700;
color: black;
background-color: #eee;
border: 1px solid #ccc;
@ -198,7 +182,6 @@ div.webtitle div {
}
a.diritem, a.diritem:link, a.diritem:visited, a.diritem:active {
font-family: 'Lucida Grande', Sans, Sans-serif;
font-size: 14px;
border-left: 4px solid #ccc;
padding: 0 15px 0 5px;
@ -210,11 +193,10 @@ a.diritem:hover {
}
a.homedir {
font-weight: 700;
font-weight: bold;
}
a.pagetop, a.pagetop:link, a.pagetop:visited, a.pagetop:hover {
font-family: 'Lucida Grande',sans, sans-serif;
display: block;
padding: 5px 10px 5px 10px;
border: 1px solid #ccc;

View File

@ -16,7 +16,7 @@
<title><xsl:value-of select="@title" /></title>
<link rel="stylesheet" href="{$g_pre}default.css" type="text/css" />
</head>
<body><div>
<body><div class="content">
<a id="pagetop" />
<xsl:apply-templates select="biglogo" />
<xsl:apply-templates select="header" />