Enforce relative url in CSS

This commit is contained in:
Loïc Chapeaux
2002-05-25 08:52:36 +00:00
parent dffb65b3d6
commit b630e21d67

View File

@@ -55,7 +55,14 @@ if (!empty($cfg['PmaAbsoluteUri'])) {
?>
<style type="text/css">
<!--
body {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; color: #000000; background-image:url('images/bkg.gif'); background-repeat:repeat-y; background-color: <?php echo $cfg['RightBgColor']; ?>}
body {
font-family: <?php echo $right_font_family; ?>;
font-size: <?php echo $font_size; ?>;
color: #000000;
background-image: url('./images/bkg.gif');
background-repeat: repeat-y;
background-color: <?php echo $cfg['RightBgColor'] . "\n"; ?>
}
pre, tt {font-size: <?php echo $font_size; ?>}
th {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>; font-weight: bold; color: #000000; background-color: <?php echo $cfg['ThBgcolor']; ?>}
td {font-family: <?php echo $right_font_family; ?>; font-size: <?php echo $font_size; ?>}