Welcome, Guest. Please Login or Register.
October 02, 2024, 06:37:02 AM
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  |  Quote borders « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Quote borders  (Read 1351 times)
Taildragger
Full Member
***
Posts: 158


WWW
Quote borders
« on: March 08, 2003, 01:13:15 AM »
Reply with quote

Since I upgraded to 1.5.1 the borders on my quote boxes are very thick even though my template still says "1px".  What might be causing this?

Thanks.
Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Quote borders
« Reply #1 on: March 08, 2003, 07:25:20 AM »
Reply with quote

can u copy and paste the whole .quote style
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Taildragger
Full Member
***
Posts: 158


WWW
Re:Quote borders
« Reply #2 on: March 08, 2003, 03:36:39 PM »
Reply with quote

Quote from: Spaceman-Spiff on March 08, 2003, 07:25:20 AM
can u copy and paste the whole .quote style

Well, here is what I have now:

.quote       {FONT-SIZE: xx-small; COLOR: #000000; FONT-FAMILY: Verdana, arial, helvetica, serif;
      BACKGROUND-COLOR: #eeeeee; BORDER: 0px solid #cccccc}


But this still results in a black border.  It looks like, for some reason, I'm getting two borders on my quotes.  One is an outside black border that I can't get rid of, and then I get another one inside that that goes along with my .quote style.

Maybe I messed up something else in the CSS to make it do this?  It didn't do it before I upgraded to 1.5.1 though.

Here's a link to the site and a page with some quotes in it:

http://www.libertarianunderground.com/Forum/index.php?board=2;action=display;threadid=447;start=40

Thanks.

PS: I'm seeing double thick quote borders here as well, even though if I view the yabbse.css it says "1px".  ???
« Last Edit: March 08, 2003, 03:38:41 PM by Taildragger » Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Quote borders
« Reply #3 on: March 08, 2003, 04:55:26 PM »
Reply with quote

Quote from: Taildragger on March 08, 2003, 03:36:39 PM
Here's a link to the site and a page with some quotes in it:

http://www.libertarianunderground.com/Forum/index.php?board=2;action=display;threadid=447;start=40
ugh if I view the yabbse.css it says "1px".  ???

The border around the quotes in this link looks fine to me, not thicker than 1px. I was using MSIE 6.0. Which browser are you using? Maybe it is a browser issue?
Logged

A.M.A.
YaBB God
*****
Posts: 685


.:: :-) ::.

evolve_xp@hotmail.com WWW
Re:Quote borders
« Reply #4 on: March 08, 2003, 04:59:05 PM »
Reply with quote

Quote from: Taildragger on March 08, 2003, 03:36:39 PM
Here's a link to the site and a page with some quotes in it:

http://www.libertarianunderground.com/Forum/index.php?board=2;action=display;threadid=447;start=40

Thanks.
strange  ??? it looks fine 4 me tho.. no thick borders!


Quote from: Taildragger on March 08, 2003, 03:36:39 PM
PS: I'm seeing double thick quote borders here as well, even though if I view the yabbse.css it says "1px".  ???
Yup.. I thought they did this Intentionally.. or it is just IE6!
Logged

Taildragger
Full Member
***
Posts: 158


WWW
Re:Quote borders
« Reply #5 on: March 08, 2003, 09:55:10 PM »
Reply with quote

I'm sorry, I must not have been clear.  My .quote is now set up for a 0px border, and the color is not black.  Yet somehow it comes out 1px thick anyway.  If I put 1px in my .quote in the CSS, then it comes out 2 pixels wide, with an inner border of the color specified and the outer border black.

In other words, it's like there's always a 1px black border and all the .quote is doing is adding an additional border inside this.

I'd like to have a 1px border, but I don't want it to be black.

Thanks again.
Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Quote borders
« Reply #6 on: March 08, 2003, 10:03:48 PM »
Reply with quote

the HTML code in your forum:
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000"><tr><td><table border="0" cellspacing="1" cellpadding="2" width="100%"><tr><td class="quote">I'm not sure of the point you are making here.</td></tr></table></td></tr></table>

it's using nested tables, so it's using the bgcolor of the parent table for the border
is this by default in 1.5.1?
i gotta take a look at the codes...
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Quote borders
« Reply #7 on: March 08, 2003, 10:11:48 PM »
Reply with quote

shows in this forum too
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#000000"><tr><td><table border="0" cellspacing="1" cellpadding="2" width="100%"><tr><td class="quote">can u copy and paste the whole .quote style <br /></td></tr></table></td></tr></table><br />
this is because of the hardcoded bgcolor in Subs.php
it should be removed, IMO
the line in Subs.php:
        "'<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td><font size=\"1\"><b><a href=\"$scripturl?action=display;\\2\">$txt[yse239]: \\1 $txt[176] '.timeformat('\\3').'</a></b></font></td></tr></table><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#000000\"><tr><td><table border=\"0\" cellspacing=\"1\" cellpadding=\"2\" width=\"100%\"><tr><td class=\"quote\">'",
and i think a <div> tag will be better than table ;)

EDIT: added to bugtracker: http://sourceforge.net/tracker/index.php?func=detail&aid=700111&group_id=57105&atid=482971
« Last Edit: March 08, 2003, 10:23:30 PM by Spaceman-Spiff » Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Taildragger
Full Member
***
Posts: 158


WWW
Re:Quote borders
« Reply #8 on: March 08, 2003, 10:28:51 PM »
Reply with quote

SS,

Wouldn't removing the cellspacing=1 solve this problem?  That would probably taking the automatic bordering away and allow the .quote CSS setting to do its thing.
Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Quote borders
« Reply #9 on: March 08, 2003, 10:49:35 PM »
Reply with quote

yes it will, removing the bgcolor will too i think...
or removing the parent table
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Taildragger
Full Member
***
Posts: 158


WWW
Re:Quote borders
« Reply #10 on: March 08, 2003, 10:58:10 PM »
Reply with quote

Quote from: Spaceman-Spiff on March 08, 2003, 10:49:35 PM
yes it will, removing the bgcolor will too i think...
or removing the parent table

There are about 4 places in Subs.php where it says class=".quote".  Should I change them all?

Why the heck does YaBB have so many nested tables?  I modified my template so it only has one table and I can't see any difference.  Maybe it makes a difference for old Netscape users or something?  New IE seems to have no problem making a 1px border without nesting 3 tables deep for everything.
Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Quote borders
« Reply #11 on: March 08, 2003, 11:04:56 PM »
Reply with quote

it was done so the layout will still look good on non-CSS-compatible browsers (old browsers)

i think there are around 3 lines that u need to change
2 for quote and 1 for code
see the link to the bugtracker above, i posted the line numbers
u can just open Subs.php and search for '#000000'
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Taildragger
Full Member
***
Posts: 158


WWW
Re:Quote borders
« Reply #12 on: March 08, 2003, 11:11:29 PM »
Reply with quote

Well, I changed every spot where I saw class=.quote so that cellspacing="0".  This seemed to fix it up, but I'm not sure what they were all for.  Some of them were PHP with /'s before the quotes and some were straight HTML.  I haven't messed with the .code yet.

The good thing about doing it this way is that the CSS can be used to change the color.

Re: nested tables, I guess it just won't look as good to people with an ancient browser.  :P
Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
Taildragger
Full Member
***
Posts: 158


WWW
Re:Quote borders
« Reply #13 on: March 08, 2003, 11:26:44 PM »
Reply with quote

Another bug report I think:

I noticed that my Subs.php has no class="code" in it anywhere.  Sure enough, if I use code or quote in my forum, it does exactly the same thing.  If I view the source of a page with a code box, it is using class="quote".

Weird.
Logged

We're designed to be hunters and we're in a society of shopping. There's nothing to kill anymore, there's nothing to fight, nothing to overcome, nothing to explore. In that social emasculation this everyman is created.
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Quote borders
« Reply #14 on: March 08, 2003, 11:37:10 PM »
Reply with quote

you're right it was using class="code" in the older version (maybe 1.0?), seems like its been like that since v1.3 :-\
added to the bugtracker
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Graphics and Templates  |  Quote 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.202 seconds with 21 queries.