Update of /cvsroot/fink/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4386

Modified Files:
        header.inc footer.inc fink.css 
Log Message:
css instead of tables for a better relation with PRE tag

Index: fink.css
===================================================================
RCS file: /cvsroot/fink/web/fink.css,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- fink.css    28 Apr 2004 01:30:30 -0000      1.23
+++ fink.css    7 Apr 2005 14:43:38 -0000       1.24
@@ -23,21 +23,6 @@
        padding: 0px ;
 }
 
-table.header {
-}
-
-table.main {
-       border-style: solid ;
-       border-width: 4px 0px 0px 0px ;
-       border-color: #ffcc66 #ffffff #ffffff #ffffff;
-}
-
-table.footer {
-       border-style: solid ;
-       border-width: 0px 0px 3px 0px ;
-       border-color: #ffffff #ffffff #999999 #ffffff;
-}
-
 p,ul,ol,li,dl,dt,dd,td,th { 
        color: black ;  
        font-family: "Trebuchet MS",sans-serif ;
@@ -50,46 +35,6 @@
        padding: 4px ;
 }
 
-td.layout { 
-       font-size: 0px;
-       border-style: none ;
-       border-width: 0px ;
-       margin: 0px ;
-       padding: 0px ;
-}
-
-td.header {
-       margin: 4px ;
-       padding: 4px ;
-}
-
-td.main_left {
-       background-color: #eee ;
-       width: 120px ;
-       margin: 0px ;
-       padding: 0px ;
-}
-
-td.main {
-       text-align: left ;
-       margin: 10px ;
-       padding: 10px ;
-}
-
-td.footer_left {
-       text-align: center ;
-       background-color: #eee ;
-       width: 120px ;
-       margin: 0px ;
-       padding: 0px ;
-}
-
-td.footer {
-       text-align: center ;
-       margin: 0px 10px ;
-       padding: 0px 10px ;
-}
-
 h1 {  color:black;  font-family:"Trebuchet MS",sans-serif;  font-size:18pt;  
font-weight:bold; }
 
 h2 {  color:black;  font-family:"Trebuchet MS",sans-serif;  font-size:12pt;  
font-weight:bold; }
@@ -161,14 +106,6 @@
 
 .nav { color:black;  font-family:Verdana,Helvetica,Arial,sans-serif; 
font-size:8pt; }
 
-/* Footer */
-div.footer {
-       color:black ;
-       font-family:"Trebuchet MS",sans-serif ;
-       font-size:10pt ;
-       text-align: center ;
-}
-
 /* Used for News */
 .news-date { color:rgb(96,96,96); font-size:10pt; font-weight:bold; }
 
@@ -206,3 +143,85 @@
        font-size: 1.0em;
        line-height: 1.3em;
 }
+
+/* DIV tags for Layout */
+div#header-left {
+       float: left ;
+       padding: 0px 0px 10px 0px ;
+       margin: 0px ;
+       width: 180px ;
+       height: 90px ;
+       border-style: solid ;
+       border-width: 0px 0px 3px 0px ;
+       border-color: #fc6 ;
+}
+
+div#header {
+       padding: 0px 0px 10px 0px ;
+       margin: 0px ;
+       height: 90px ;
+       border-style: solid ;
+       border-width: 0px 0px 3px 180px ;
+       border-color: #fff #fff #fc6 #fff ;
+       font-family: "Trebuchet MS", sans-serif ;
+       text-align: right ;
+}
+
+div#sidebar {
+       float: left ;
+       padding: 0px ;
+       margin: 0px ;
+       width: 150px ;
+       border-style: solid ;
+       border-width: 0px ;
+       border-color: #333 ;
+}
+
+div#sections {
+       padding: 6px 3px ;
+       margin: 0px ;
+       background-image: url(http://fink.sourceforge.net/img/stripes.gif) ;
+       font-weight: bold ;
+       display: block ;
+       border-style: solid ;
+       border-width: 0px 0px 4px 0px ;
+       border-color: #fc6 ;
+       font-family: "Trebuchet MS", sans-serif ;
+       text-align: center ;
+}
+
+div#main {
+       padding: 0px 0px 20px 10px ;
+       margin: 0px ;
+       border-style: solid ;
+       border-width: 0px 0px 0px 150px ;
+       border-color: #eee ;
+}
+
+div#footer-left {
+       clear: both ;
+       float: left;
+       padding: 10px 0px 10px 0px ;
+       margin: 0px ;
+       width: 150px ;
+       height: 50px ;
+       border-style: solid ;
+       border-width: 3px 0px 3px 0px ;
+       border-color: #666 ;
+       text-align: center ;
+       font-family: "Trebuchet MS", sans-serif ;
+       font-size: smaller ;
+       background-image: url(http://fink.sourceforge.net/img/stripes.gif) ;
+}
+
+div#footer {
+       padding: 10px 0px 10px 10px ;
+       margin: 0px ;
+       height: 50px ;
+       border-style: solid ;
+       border-width: 3px 0px 3px 150px ;
+       border-color: #fff #fff #666 #eee ;
+       text-align: center ;
+       font-family: "Trebuchet MS", sans-serif ;
+       font-size: smaller ;
+}

Index: header.inc
===================================================================
RCS file: /cvsroot/fink/web/header.inc,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- header.inc  20 Jan 2005 15:15:15 -0000      1.91
+++ header.inc  7 Apr 2005 14:43:38 -0000       1.92
@@ -289,47 +289,31 @@
 <!-- End of Tracking Code -->
 
 <? /* header and sourceforge logo */ ?>
-<table width="100%" cellspacing="0" class="header">
-<tr valign="bottom">
-       <td align="left" rowspan="2" class="header">
+<div id="header-left">
+
        <? if (!$is_home) echo '<a href="' . $linkroot . 'index.php">'; ?>
-       <img src="<? echo $root ?>img/mlogo.png"  border="0" alt="Fink">
+       <img src="<? echo $root ?>img/mlogo.png"  width="171" height="85" 
border="0" alt="Fink">
        <? if (!$is_home) echo '</a>'; ?>
-       </td>
-       <td align="right" class="header">
-       
+</div>
+
+<div id="header">
        <? /* Call phpLang function */ ?>
        <? if (function_exists(AddFlags)) AddFlags('', false, $root); ?>
-       </td>
-</tr>
-<tr valign="bottom">
-       <td align="right" class="header">
+       <br>
 <? if (!$hostlogo) include "hostlogo.inc" ;
                echo str_replace("{img}", $img, HEADER_HOSTED_BY);
 ?>
+</div>
 
-       </td>
-</tr>
-</table>
 <? /* main table with navigation column and content column */ ?>
-<table width="100%" cellspacing="0" class="main">
-<tr valign="top">
-<td class="main_left" width="120">
+<div id="sidebar">
+
 <? /* navigation column table */ ?>
 
 <? /* sections */ ?>
-       <p style="
-                       background-image: url(<? echo $root; ?>img/stripes.gif) 
; 
-                       font-weight: bold ;
-                       display: block ; 
-                       border-style: solid ; 
-                       border-width: 0px 0px 4px 0px ; 
-                       border-color: #fc6 ; 
-                       text-align: center ; 
-                       margin: 0px ;
-                       padding: 6px 3px">
+       <div id="sections">
                <? echo FINK_SECTIONS; ?>
-       </p>
+       </div>
        <ul class="menu">
 <? 
        foreach ($section_files as $key => $filename) {
@@ -359,6 +343,7 @@
                </li>
 <? } ?>
        </ul>
-</td>
+       
 <? /* end navigation column */ ?>
-<td class="main">
+</div>
+<div id="main">
\ No newline at end of file

Index: footer.inc
===================================================================
RCS file: /cvsroot/fink/web/footer.inc,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- footer.inc  7 Mar 2005 12:19:21 -0000       1.30
+++ footer.inc  7 Apr 2005 14:43:38 -0000       1.31
@@ -2,35 +2,26 @@
 /* $Id$ */
 ?>
 
-</td></tr>
 <? /* end content table */ ?>
-</table>
-
-
-<table width="100%" cellspacing="0" class="footer">
-<tr valign="bottom">
-<td class="footer_left" width="120">
-       <p style="border-style: solid ; border-width: 3px 0px 0px 0px ; 
border-color: #999999 ; padding: 6px ; margin: 0px ; text-align: center; 
background-image:url(<? echo $root; ?>img/stripes.gif)">
-               <a href="<? echo $root; ?>legal.php" 
style="text-decoration:none ; color:black ; font-size:8pt;">
+</div>
+<div id="footer-left">
+               <a href="http://fink.sourceforge.net/legal.php"; 
style="text-decoration:none ; color:black ;">
                        Copyright &copy 2001-05<br>The&nbsp;Fink&nbsp;Project
                </a>
-       </p>
-</td><td class="footer">
-               <? /* Inserts Links to Available Languages */ ?>
-               <div class="footer">
-               <?
+</div>
+<div id="footer">
+       <?
                if (function_exists(AddLanguageNames)) {
                        echo FOOTER_AVAILABLE_LANGUAGES . ': ';
                        AddLanguageNames(' | ', false); 
                } else {
                        echo "&nbsp;";
                }
-               ?>
-               </div>
-               
-               <? /* The Real Footer */ ?>
-               <div class="footer">
-               <?
+       ?>
+       <br>
+       <? /* The Real Footer */ ?>
+       
+       <?
                if ($dyndate == 1) {
                        print FOOTER_GENERATED_DYNAMICALLY;
                } elseif ($dyndate) {
@@ -47,10 +38,8 @@
                        $print_lastchanged = str_replace("{time}", gmstrftime(" 
%R GMT", $date), $print_lastchanged);
                        print $print_lastchanged;
                }
-               ?>
-               </div>
-</td>
-</tr>
-</table>
+       ?>
+</div>
+
 </body>
 </html>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to