Make it look right with Internet Exploder.

This commit is contained in:
Andrew McMillan 2006-11-12 00:33:29 +13:00
parent 1fb523c0fa
commit d38b23f873
2 changed files with 9 additions and 4 deletions

View File

@ -38,13 +38,13 @@
} }
$style = ($client_page == "Interoperability" ? ' class="selected"' : '' ); $style = ($client_page == "Interoperability" ? ' class="selected"' : '' );
printf( '<p%s><a href="clients.php?client=Interoperability">Interoperability</a></p>', $style ); printf( '<p%s><a%s href="clients.php?client=Interoperability">Interoperability</a></p>', $style, $style );
sort($clients); sort($clients);
foreach( $clients AS $k => $v ) { foreach( $clients AS $k => $v ) {
if ( $v == "Interoperability" ) continue; if ( $v == "Interoperability" ) continue;
$style = (strcmp($client_page,$v) == 0 ? ' class="selected"' : '' ); $style = (strcmp($client_page,$v) == 0 ? ' class="selected"' : '' );
printf( '<p%s><a href="clients.php?client=%s">', $style, urlencode($v) ); printf( '<p%s><a%s href="clients.php?client=%s">', $style, $style, urlencode($v) );
if ( isset($icons[$v]) ) { if ( isset($icons[$v]) ) {
printf( '<img src="clients/%s"><br />', urlencode($icons[$v]) ); printf( '<img src="clients/%s"><br />', urlencode($icons[$v]) );
} }

View File

@ -240,9 +240,14 @@ pre {
border: none; border: none;
} }
#leftSide a { #leftSide a, #leftSide a:link, #leftSide a:hover, #leftSide a:active, #leftSide a:visited {
text-decoration: none; text-decoration: none;
color: inherit; color: black;
}
#leftSide a.selected, #leftSide a.selected:link, #leftSide a.selected:hover, #leftSide a.selected:active, #leftSide a.selected:visited {
text-decoration: none;
color: white;
} }
#rightSide { #rightSide {