Support Forum

Question on .spPostSection

SP SPQC
SPQC
Member
Why the -200 and 200 there?  It doesn’t seems to hurt but I disabled it and all was fine also so I’m curious why they are needed.
 
#spMainContainer .spTopicPostSection .spPostSection {
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 0 5px 5px 0;
    margin-bottom: -200px;
    padding: 4px 2px 200px 4px;
}

4 Answers

New Answer

MP Mr Papa
Mr Papa
Member

lol. frankly, I dont remember… think it had something to do with signatures…  but with other logic in there now to force to bottom, it might not be needed…

SP SPQC
SPQC
Member

Mr Papa said
lol. frankly, I dont remember… think it had something to do with signatures…  but with other logic in there now to force to bottom, it might not be needed…

Oh, I must tell that I haven’t played with signature and that they are off on my side so if it has something to do with that, I can’t see it.

MP Mr Papa
Mr Papa
Member

some time when bored wink will look into if still needed…

SP SPQC
SPQC
Member

Well I found out why this is there.  I added a border–left to .spPostSection and without this, the border was not reaching the bottom of the post when the post was shorter than spUserSection content.

I tried to set the border to spUserSection instead by adding .spUserSection { border-right: 1px solid #990000; } but it’s not working.  Something in CSS I still haven’t catched I guess.

Also I thought of adding it to sp_ColumnStart(‘tagClass=spUserSection spLeft&width=15%&height=50px’); in spTopicView.php but I’m not sure if it would work adding it with & because of the all the spaces in “border-right: 1px solid #990000;”

Help?