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

View File

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