cvs: phpweb /include layout.inc
| From: | Rasmus Lerdorf | Date: | Fri, 03 Aug 2001 14:55:24 +0000 |
| Subject: | cvs: phpweb /include layout.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-5827@lists.php.net to get a copy of this message | ||
rasmus Fri Aug 3 10:55:24 2001 EDT
Modified files:
/phpweb/include layout.inc
Log:
Woohoo! Finally sat down and figured out a way to make this layout
resize correctly horizontally on all browsers. Basically just fix the
width of the two outside columns and let the center column do it own
thing.
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.44 phpweb/include/layout.inc:1.45
--- phpweb/include/layout.inc:1.44 Sun Jul 22 02:30:38 2001
+++ phpweb/include/layout.inc Fri Aug 3 10:55:24 2001
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.44 2001/07/22 06:30:38 rasmus Exp $ */
+/* $Id: layout.inc,v 1.45 2001/08/03 14:55:24 rasmus Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -234,8 +234,8 @@
<table cellpadding="0" cellspacing="0">
<tr valign="top">
<?php if (isset($SIDEBAR_DATA)):?>
- <td bgcolor="#f0f0f0">
- <table width="149" cellpadding="4" cellspacing="0">
+ <td width=200 bgcolor="#f0f0f0">
+ <table width="100%" cellpadding="2" cellspacing="0"
border=0>
<tr valign="top">
<td class="sidebar"><?php echo $SIDEBAR_DATA?></td>
</tr>
@@ -244,7 +244,7 @@
<td bgcolor="#cccccc" background="/gifs/checkerboard.gif"><?php
spacer(1,1);?><br></td>
<?php endif; ?>
<td>
- <table width="625" cellpadding="10" cellspacing="0">
+ <table cellpadding="10" cellspacing="0">
<tr>
<td valign="top">
<?php
@@ -262,7 +262,7 @@
echo "</td></tr></table></td>";
if(isset($RSIDEBAR_DATA)) {?>
<td bgcolor="#cccccc" background="/gifs/checkerboard.gif"><?php
spacer(1,1);?><br></td>
- <td bgcolor="#f0f0f0">
+ <td width=175 bgcolor="#f0f0f0">
<table width="100%" cellpadding="4" cellspacing="0">
<tr valign="top">
<td class="sidebar"><?php echo $RSIDEBAR_DATA?></td>