CSS/Style/Layout fixes specifically for internet exploder to work properly.

This commit is contained in:
james 2006-02-02 02:32:24 +00:00
parent 2169e3829f
commit aab25dfa0b
3 changed files with 26 additions and 35 deletions

View File

@ -394,16 +394,11 @@ echo "<h1>".i18n($config['fairname'])."</h1>";
?> ?>
<hr /> <hr />
</div> </div>
<table cellpadding="5" width="100%">
<tr><td width="175">
<div id="left"> <div id="left">
<ul class="mainnav"> <ul class="mainnav">
<li><a href="<?=$config['SFIABDIRECTORY']?>/index.php"><?=i18n("Home Page")?></a></li> <li><a href="<?=$config['SFIABDIRECTORY']?>/index.php"><?=i18n("Home Page")?></a></li><li><a href="<?=$config['SFIABDIRECTORY']?>/important_dates.php"><?=i18n("Important Dates")?></a></li><li><a href="<?=$config['SFIABDIRECTORY']?>/register_participants.php"><?=i18n("Participant Registration")?></a></li><li><a href="<?=$config['SFIABDIRECTORY']?>/register_judges.php"><?=i18n("Judges Registration")?></a></li><li><a href="<?=$config['SFIABDIRECTORY']?>/committees.php"><?=i18n("Committee")?></a></li><li><a href="<?=$config['SFIABDIRECTORY']?>/winners.php"><?=i18n("Winners")?></a></li></ul>
<li><a href="<?=$config['SFIABDIRECTORY']?>/important_dates.php"><?=i18n("Important Dates")?></a></li>
<li><a href="<?=$config['SFIABDIRECTORY']?>/register_participants.php"><?=i18n("Participant Registration")?></a></li>
<li><a href="<?=$config['SFIABDIRECTORY']?>/register_judges.php"><?=i18n("Judges Registration")?></a></li>
<li><a href="<?=$config['SFIABDIRECTORY']?>/committees.php"><?=i18n("Committee")?></a></li>
<li><a href="<?=$config['SFIABDIRECTORY']?>/winners.php"><?=i18n("Winners")?></a></li>
</ul>
<br /> <br />
<ul class="mainnav"> <ul class="mainnav">
<? <?
@ -416,36 +411,28 @@ if(auth_has_access("admin") || auth_has_access("config") || auth_has_access("sup
<li><a href="<?=$config['SFIABDIRECTORY']?>/config/"><?=i18n("SFIAB Configuration")?></a></li> <li><a href="<?=$config['SFIABDIRECTORY']?>/config/"><?=i18n("SFIAB Configuration")?></a></li>
<? } <? }
?> ?><li><a href="<?=$config['SFIABDIRECTORY']?>/committee_login.php?action=logout"><?=i18n("Committee Logout")?></a></li><?
<li><a href="<?=$config['SFIABDIRECTORY']?>/committee_login.php?action=logout"><?=i18n("Committee Logout")?></a></li>
<?
} }
else else
{ {
?> ?><li><a href="<?=$config['SFIABDIRECTORY']?>/committee_login.php"><?=i18n("Committee Login")?></a></li><?
<li><a href="<?=$config['SFIABDIRECTORY']?>/committee_login.php"><?=i18n("Committee Login")?></a></li>
<?
} }
?> ?></ul>
</ul>
<br /> <br />
<ul class="mainnav"> <ul class="mainnav">
<? <?
if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode']) if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
{ {
?> ?>
<li><a href="<?=$config['SFIABDIRECTORY']?>/schoolaccess.php?action=logout"><?=i18n("School Logout")?></a></li> <li><a href="<?=$config['SFIABDIRECTORY']?>/schoolaccess.php?action=logout"><?=i18n("School Logout")?></a></li><?
<?
} }
else else
{ {
?> ?>
<li><a href="<?=$config['SFIABDIRECTORY']?>/schoolaccess.php"><?=i18n("School Login")?></a></li> <li><a href="<?=$config['SFIABDIRECTORY']?>/schoolaccess.php"><?=i18n("School Login")?></a></li><?
<?
} }
?> ?></ul>
</ul>
<div class="aligncenter"> <div class="aligncenter">
@ -475,8 +462,7 @@ if(count($config['languages'])>1)
</div> </div>
</div> </div>
</td><td>
<div id="main"> <div id="main">
<? <?
if($title) if($title)
@ -487,6 +473,7 @@ function send_footer()
{ {
global $config; global $config;
?> ?>
</td></tr></table>
</div> </div>
<div id="footer"> <div id="footer">
<? <?

View File

@ -236,7 +236,7 @@ echo "<table><tr><td>";
} }
else else
{ {
echo "<tr><td>".error(i18n("We must receive your signature form before you can nominate yourself for special awards"),"inline")."</td></tr>"; echo "<tr><td>".error(i18n("We must receive your signature form before you can nominate yourself for special awards"))."</td></tr>";
} }
echo "</table>"; echo "</table>";

View File

@ -38,16 +38,13 @@ td {
} }
#footer { #footer {
width: 100%;
text-align: center; text-align: center;
background-color : #5C6F90; background-color : #5C6F90;
font-size: 0.8em; font-size: 0.8em;
} }
#left { #left {
position: absolute;
top: 80px;
left: 10px;
width: 165px; width: 165px;
background: #EEEEFF; background: #EEEEFF;
border: 2px solid Silver; border: 2px solid Silver;
@ -57,13 +54,11 @@ td {
#main { #main {
background: #EEEEFF;
margin-left: 200px;
margin-top: 10px;
margin-right: 10px; margin-right: 10px;
background: #EEEEFF;
padding: 5px; padding: 5px;
border: 2px solid Silver; border: 2px solid Silver;
min-height: 500px; min-height: 600px;
} }
@ -101,6 +96,7 @@ ul.mainnav {
margin : 0; margin : 0;
padding : 0; padding : 0;
background-color : #d6d6d6; background-color : #d6d6d6;
width: 165px;
} }
ul.mainnav li { ul.mainnav li {
@ -111,17 +107,17 @@ ul.mainnav li {
ul.mainnav li a { ul.mainnav li a {
display : block; display : block;
margin : 0; margin : 0;
padding : 6px 6%; padding : 6px;
background-color : #5C6F90; background-color : #5C6F90;
font : bold 0.9em/1.5em Arial, sans-serif; font : bold 0.9em/1.5em Arial, sans-serif;
color : #fff; color : #fff;
text-decoration : none; text-decoration : none;
width : 88%;
} }
ul.mainnav li a:hover { ul.mainnav li a:hover {
background-color : #63616b; background-color : #63616b;
color : #eee; color : #eee;
text-decoration: none;
} }
.aligncenter { .aligncenter {
@ -135,6 +131,10 @@ a {
color: #5C6F90; color: #5C6F90;
} }
a:hover {
text-decoration: underline;
}
.summarytable { .summarytable {
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0px; border-spacing: 0px;
@ -210,6 +210,10 @@ a {
color: red; color: red;
} }
a.caution:hover {
text-decoration: underline;
}
.requiredfield { .requiredfield {
font-weight: bold; font-weight: bold;
font-size: 0.8em; font-size: 0.8em;