Skip to content

Commit

Permalink
added conditional stylesheet for IE6, fixing disappearing bits
Browse files Browse the repository at this point in the history
  • Loading branch information
tremby committed Apr 29, 2010
1 parent 00a8152 commit 18c8656
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/htmlheader.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
<script type="text/javascript" src="<?php echo SITEROOT_WEB; ?>include/jquery.js"></script>
<script type="text/javascript" src="<?php echo SITEROOT_WEB; ?>include/questionbank.js.php"></script>
<link rel="stylesheet" href="<?php echo SITEROOT_WEB; ?>include/styles.css">
<!--[if IE 6]>
<link rel="stylesheet" href="<?php echo SITEROOT_WEB; ?>include/styles.ie6.css">
<![endif]-->
<?php if (isset($GLOBALS["headerextra"])) echo $GLOBALS["headerextra"]; ?>
</head>
<body>
Expand Down
13 changes: 13 additions & 0 deletions include/styles.ie6.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/*
* Question Bank
*/

/*------------------------------------------------------------------------------
(c) 2010 JISC-funded EASiHE project, University of Southampton
Licensed under the Creative Commons 'Attribution non-commercial share alike'
licence -- see the LICENCE file for more details
------------------------------------------------------------------------------*/

p, h2, h3, li {
height: 1%; /* give hasLayout */
}

0 comments on commit 18c8656

Please sign in to comment.