Welcome, Guest. Please Login or Register.
September 29, 2024, 12:35:03 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Graphics and Templates  |  Removing Cell Padding on Outermost table « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Removing Cell Padding on Outermost table  (Read 2975 times)
mike12341234
Noobie
*
Posts: 3


I'm a llama!

Removing Cell Padding on Outermost table
« on: October 27, 2003, 05:30:00 AM »
Reply with quote

I'm trying to cut out the cell padding thats around each section of the forum, like on this board its a light blue color.. Anyone know where exactly to modify this?
Logged
mike12341234
Noobie
*
Posts: 3


I'm a llama!

Re:Removing Cell Padding on Outermost table
« Reply #1 on: October 27, 2003, 05:48:01 AM »
Reply with quote

is there a way to remove only the othermost border without affecting the inner border?
Logged
Peter Duggan
Llama Chameleon
Global Moderator
YaBB God
*****
Posts: 1793


You come and go...

WWW
Re:Removing Cell Padding on Outermost table
« Reply #2 on: October 27, 2003, 11:04:56 PM »
Reply with quote

Well, this might go further than you wanted, but hopefully it will give you the idea:

Quote from: Peter Duggan on September 25, 2003, 09:29:11 PM
You need to remove some of the tables that are used purely for decorative effect. For example, your <yabb main> section looks like this:

<table class="bordercolor" cellspacing="0" cellpadding="0" width="98%" align="center" bgcolor="#6394bd" border="0">
 <tr>
   <td>
     <table class="bordercolor" cellspacing="1" cellpadding="0" width="100%" align="center" bgcolor="#6394bd" border="0">
       <tr>
         <td>
           <table cellspacing="0" cellpadding="10" width="100%" align="center" bgcolor="#ffffff" border="0">
             <tr>
               <td valign="top" width="100%">
                 <yabb main>
               </td>
             </tr>
           </table>
         </td>
       </tr>
     </table>
   </td>
 </tr>
</table>


But the equivalent section from my Flypaper board looks like this:

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="bordercolor" align="center">
 <tr>
   <td valign="top" width="100%">
     <yabb main>
   </td>
 </tr>
</table>


PS In practice, you probably want to modify that section of your template less drastically than I did (remember that the tables are nested, so the opening and closing table tags refer to the outermost table and so on till you get to the innermost one).
« Last Edit: October 27, 2003, 11:08:17 PM by Peter Duggan » Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Removing Cell Padding on Outermost table « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.032 seconds with 20 queries.