News:

Wondering if this will always be free?  See why free is better.

Main Menu

border commands for windowbg's

Started by 1MileCrash, August 11, 2005, 09:01:41 PM

Previous topic - Next topic

1MileCrash

Whenever i try to add borders to the windowbgs, it only woks on the first alternating color, every time.

What is wrong?
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
   color: #666666;
   background-color: #EBEBEB;
   border-top: #D9D9D9 1px solid;
   border-left: #D9D9D9 1px solid;
}
.windowbg2
{
   color: #666666;
   background-color: #EBEBEB;
   border-top: #838B8B 1px solid;
   border-left: #838B8B 1px solid;
   border-bottom: #838B8B 1px solid;
}
The only thing php can't do is tell you how much milk is left in the fridge.



[Unknown]

What do you mean, the first alternating color?  Only on windowbg?

-[Unknown]

crazystu


1MileCrash

Quote from: [Unknown] on August 12, 2005, 03:40:20 AM
What do you mean, the first alternating color?  Only on windowbg?

-[Unknown]

yes. None of the changes apply to windowbg2.

Actually, i just noticed, that they do apply to windowbg2, just not on the board index, in the message index only. Ill post screenshots later
The only thing php can't do is tell you how much milk is left in the fridge.



bloc

Its because the windowbg2 on boardindex is applied to a <tr>  and that don't take border values. :)

1MileCrash

okay, thanks bloc.  :D

I dont suppose there is any way to work around this?  :-\
The only thing php can't do is tell you how much milk is left in the fridge.



bloc

oh , yes. :) Just remove the class from the <tr> there..and apply it to the <td> that don't have any windowbg..some might have smalltext, so you need to move those into a <span> inside the <td> instead.

I think i did this on at least the Cerberus theme - if not more.

Advertisement: