From ff2d276021265e14f0eb6d2fd8aca90e8414921b Mon Sep 17 00:00:00 2001
From: Jeroen Bensch <jeroen@44.no-reply.drupal.org>
Date: Mon, 26 Feb 2001 15:43:42 +0000
Subject: [PATCH] Small bug fixes, added some NOWRAPs and other stuff. This is
 also an attempt to fix the widths of the boxes on the sides... I don't know
 if it'll work, and frankly I doubt if it would... Let me elaborate... You
 know that I have three colums, one for the left boxes, the middle for the
 stories and one for the right boxes... I didn't provide a width for any of
 these <TD>s. That's why it chose it's width randomly. Then I set them to
 these values, respectively 20 60 and 20%. That went OK, but another problem
 occurred. We only have boxes on the main page. And on the other pages. e.g.
 faq, submit news, search... we only have the <user>'s account box on the
 right. This results in a large white border on the left (lost space). That's
 why I did the following... but I am afraid it won't work... I set the widths
 to: <no width> 100% 20% So, now, when we have boxes on the left it'll display
 them, when there aren't any, the middle <TD> will take up the rest op the
 space, being 100%, it worked fine on my computer with my browsers... But
 since I use the kind of browser no-one else uses (linux mozilla 0.8 which
 sucks and linux NS6.01) it is no reference. I would want to stress again that
 my theme isn't mozilla compatible or how do you say that, in fact it'd better
 be mozilla isn't jeroen.theme compatible, it's buggy as hell with the
 backrounds. OK enough for now, let's see if anything good happens to my
 theme. Dries, be so kind to get my jeroen.theme working at
 http://jeroen.drop.org.

Jeroen.
---
 themes/jeroen/jeroen.theme | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme
index 949afffcc833..c294188431bb 100644
--- a/themes/jeroen/jeroen.theme
+++ b/themes/jeroen/jeroen.theme
@@ -35,11 +35,11 @@ function header() {
       <BODY TEXT="#202020" BGCOLOR="#FEFEFE" BACKGROUND="themes/jeroen/images/background.gif" ALINK="#000000" LINK="#000000" VLINK="#000000">
         <TABLE WIDTH="100%" ALIGN="left" CELLPADDING="0" CELLSPACING="6">
           <TR>
-            <TD COLSPAN="2">
+            <TD COLSPAN="2" WIDTH="80%">
               <? if (rand(0,150) == 75) $img = "logo2.gif"; else $img = "logo.gif"; ?>
               <IMG SRC="themes/jeroen/images/<? echo $img; ?>" ALT="drop.org logo"><BR><BR>
             </TD>
-            <TD>
+            <TD WIDTH="20%">
 <?
               $this->box("Drop where?", "<TR>
                                            <TD ALIGN=\"left\" VALIGN=\"top\">
@@ -49,7 +49,7 @@ function header() {
                                            </TD>
                                            <TD ALIGN=\"right\" VALIGN=\"top\">
                                              <A HREF=\"module.php?mod=diary\">diary</A><BR>
-                                             <A HREF=\"submit.php\">submit news</A>
+                                             <A HREF=\"submit.php\">submit news</A><BR>
                                              <A HREF=\"account.php\">account</A>
                                           </TD>
                                        </TR>");
@@ -62,7 +62,7 @@ function header() {
                 theme_blocks("all", $this);
               ?>
             </TD>
-            <TD VALIGN="top" ALIGN="left">
+            <TD WIDTH="100%"  VALIGN="top" ALIGN="left">
 
 <?
     }
@@ -153,7 +153,7 @@ function article($story, $reply) {
 
               <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
                 <TR>
-                  <TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/<? echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>">&nbsp;</TD>
+                  <TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/<? echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>" NOWRAP>&nbsp;</TD>
                   <TD ALIGN="center" VALIGN="center" HEIGHT="20" BACKGROUND="themes/jeroen/images/newsmiddle.gif">
                     <B><? echo "". check_output($story->subject) .""; ?></B>
                   </TD>
@@ -315,7 +315,7 @@ function box($subject, $content, $options = "") {
       else $img2 ="boxtopleftside1.gif";
 ?>
 
-              <TABLE ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">
+              <TABLE WIDTH="100%" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">
                 <TR>
                   <TD WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/boxtopleft.gif" NOWRAP>&nbsp;</TD>
                   <TD WIDTH="<? echo $width; ?>" BACKGROUND="themes/jeroen/images/boxtop.gif">&nbsp;</TD>
@@ -325,7 +325,7 @@ function box($subject, $content, $options = "") {
                 </TR>
                 <TR>
                   <TD BACKGROUND="themes/jeroen/images/<? echo $img2; ?>" HEIGHT="20">&nbsp;</TD>
-                  <TD ALIGN="center" COLSPAN="3" BACKGROUND="themes/jeroen/images/menutitle.gif">
+                  <TD ALIGN="center" COLSPAN="3" BACKGROUND="themes/jeroen/images/menutitle.gif" NOWRAP>
                     <FONT COLOR="<? echo $this->fgc2; ?>"><? echo $subject; ?></FONT>
                   </TD>
                   <TD BACKGROUND="themes/jeroen/images/boxtoprightside.gif">&nbsp;</TD>
@@ -362,8 +362,6 @@ function footer() {
 <?
          global $PHP_SELF;
 
-
-
            theme_account($this);
 ?>
             </TD>
-- 
GitLab