Welcome, Guest. Please Login or Register.
April 27, 2025, 11:13:26 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Graphics and Templates  |  Borders « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Borders  (Read 1464 times)
keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Borders
« on: July 17, 2002, 06:44:16 PM »
Reply with quote

I'm playing around with my board template and I'm trying to get rid of the borders, coz I don't like them. I set it to transparent, but there's still the space where they would be. Is it possible to set the border thickness to 0, so they don't show up...?
Logged

m@
Full Member
***
Posts: 140


YabbSE is schweeeet

ICQ - 85248310 WWW
Re:Borders
« Reply #1 on: July 17, 2002, 10:26:14 PM »
Reply with quote

table border="0"

is all you need.

Matt.
Logged

keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #2 on: July 18, 2002, 10:53:44 AM »
Reply with quote

Sorry... I'm just starting this! Where do you set 'Table Border' to '0'?
Logged

Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Borders
« Reply #3 on: July 18, 2002, 04:19:53 PM »
Reply with quote

open your template, it should be the table after the <yabb news> tag
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #4 on: July 18, 2002, 05:47:42 PM »
Reply with quote

You mean the parts which say:

<TABLE class=bordercolor cellSpacing=1 cellPadding=0 width="100%"  align=center bgColor=#FFFFFF border=0>

Coz all of them are already set to 0...?
Logged

Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Borders
« Reply #5 on: July 18, 2002, 08:59:08 PM »
Reply with quote

this one's from 1.41 template:

look for:<TABLE class=bordercolor cellSpacing=0 cellPadding=0 width="90%" align=center bgColor=#6394bd border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=bordercolor cellSpacing=1 cellPadding=0 width="100%" align=center bgColor=#6394bd border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=10 width="100%" align=center bgColor=#ffffff border=0>
              <TBODY>
              <TR>
                <TD vAlign=top width="100%">
<yabb main>
   </TD>
   </TR>
   </TBODY>
              </TABLE>
          </TD>
        </TR>
        </TBODY>
       </TABLE>
    </TD>
   </TR>
  </TBODY>
</TABLE>

replace with:<TABLE cellSpacing=0 cellPadding=10 width="90%" align=center bgColor=#ffffff border=0>
  <TBODY>
  <TR>
    <TD vAlign=top width="100%">
<yabb main>
   </TD>
  </TR>
  </TBODY>
</TABLE>

i removed the 1st and 2nd table, and set the 3rd table width to 90%
havent tested it, but should work...
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #6 on: July 19, 2002, 09:12:46 AM »
Reply with quote

So I replace the WHOLE of the bit from the first section with the bit from the second section...?
Ok, I'll backup my template and I'll go try it now. I'll report back on the results!
Logged

keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #7 on: July 19, 2002, 09:29:14 AM »
Reply with quote

Hmm... I just tried it, but it doesn't work...
It's not really a big deal, but I just think that the borders look a bit ugly...
Anyone have any other suggestions?
Logged

keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #8 on: July 19, 2002, 10:02:48 AM »
Reply with quote

BTW... Just incase there's any confusion, I'm talking about these borders:



The thin white borders which run round every box...
« Last Edit: July 19, 2002, 10:10:44 AM by keysers0ze » Logged

Michele
Beta Tester
YaBB God
*****
Posts: 584


I can't wait for YaBB SE 2!

Mad+Moya WWW
Re:Borders
« Reply #9 on: July 20, 2002, 06:10:47 AM »
Reply with quote

I don't know how to get rid of them either, but you can change the color of them by changing the .bordercolor - although that will change the color of a few other things as well.

HTH, Mad Moya
Logged

formerly Mad Moya
PfaBB - http://pfabb.lunabyte.com
keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #10 on: July 20, 2002, 11:18:24 AM »
Reply with quote

Quote from: Mad Moya on July 20, 2002, 06:10:47 AMI don't know how to get rid of them either, but you can change the color of them by changing the .bordercolor - although that will change the color of a few other things as well.

HTH, Mad Moya

Yeah, I know you can change the color, but I want to get rid of them entirely... Does NO ONE know how to do it?
Logged

Tazz
Noobie
*
Posts: 49


WWW
Re:Borders
« Reply #11 on: July 20, 2002, 02:12:49 PM »
Reply with quote

Make all the cellSpacing=1 into cellSpacing=0. That should remove them. I tested it now on my forum to be sure.

You will have to edit alot of files if you want it too look like this on every page though.
Logged
keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #12 on: July 20, 2002, 02:24:00 PM »
Reply with quote

I've already tried that. It doesn't work... :(
Logged

Tazz
Noobie
*
Posts: 49


WWW
Re:Borders
« Reply #13 on: July 20, 2002, 02:41:37 PM »
Reply with quote

You have to edit the php files and do a search for cellSpacing="1" and change them to cellSpacing="0".

For the main page for example, go to boardindex.php and do a search and replace for the above. Make a backup copy first of course, then upload the new boardindex.php file to the server.

Do a refresh and the lines should be gone. It worked on my site.

http://www.kandmwonders.com/forum/index.php

Logged
keysers0ze
Jr. Member
**
Posts: 65


I'm the Dali Llama!

ICQ - 159547275 WWW
Re:Borders
« Reply #14 on: July 20, 2002, 03:45:53 PM »
Reply with quote

Hmm... I MUST work, coz I've seen yours and it looks good! But I just tried it and it said this:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/virtual/public_html/community/Sources/BoardIndex.php on line 216

Fatal error: Call to undefined function: boardindex() in /home/virtual/public_html/community/index.php on line 310

Any idea what this means? And how to fix it?
Logged

Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Borders « 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.132 seconds with 18 queries.