[Scummvm-cvs-logs] CVS: web/include sidebar.php,1.22,1.23

Max Horn fingolfin at users.sourceforge.net
Wed Oct 15 14:56:03 CEST 2003


Update of /cvsroot/scummvm/web/include
In directory sc8-pr-cvs1:/tmp/cvs-serv25882/include

Modified Files:
	sidebar.php 
Log Message:
work around bug in IE 6

Index: sidebar.php
===================================================================
RCS file: /cvsroot/scummvm/web/include/sidebar.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- sidebar.php	14 Oct 2003 13:08:39 -0000	1.22
+++ sidebar.php	15 Oct 2003 21:55:23 -0000	1.23
@@ -11,9 +11,14 @@
   
     global $file_root;
 
+// It would be nice to use a plain simple <div> here, for maximum layout 
+// flexibility. Sadly, due to a bug in Internet Explorer 6, we can't do this
+// (at least not as long as we want the page to render correctly in IE 6).
+// So we resort to using a table with two columns and one row.
+
 ?>
 
-<div id="sideBar">
+<table border=0 cellpadding=0 cellspacing=0><tr><td id=sideBar>
 
 <?
 
@@ -82,9 +87,7 @@
 	<p>
 		<a href="http://jigsaw.w3.org/css-validator/"><img src="http://jigsaw.w3.org/css-validator/images/vcss" width="88" height="31" alt="Valid CSS!" ></a>
 	</p>
-</div>
-<div id="main">
-
+</td><td id="main">
 <?
 }
 
@@ -92,7 +95,7 @@
 {
 ?>
 
-</div>
+</td></tr></table>
 
 <?
 }





More information about the Scummvm-git-logs mailing list