Previous Thread
Next Thread
Print Thread
Hop To
#239648 09/23/2010 10:06 PM
Joined: Mar 2008
Posts: 262
enthusiast
enthusiast
Joined: Mar 2008
Posts: 262
OK if you look at our forum, at the bottom there is a extra space between the Privacy statement block and the wrapper of the site. I have traced it to a extra BR tag, but it is not in my header or footer include. Any idea which template or CSS file is tossing it in?

Edit I think I found it in the footer.tpl... But there is still a little space that would be nice to get rid of...

Last edited by Iann128; 09/23/2010 10:10 PM.

Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Iann128 #239649 09/23/2010 10:28 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Firefox + Firebug, right click, inspect element shows that the t_outer class has :

margin-bottom:5px;

but you can't just edit that to 0, because you'd affect all the other wrappers that 'depend' on that.

you could edit footer.tpl and not do {$tbopen}

and instead put in:

HTML
<table width="100%" class="t_outer" style="margin-bottom:0;" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" class="t_inner" cellpadding="0" cellspacing="1">

allowing the inline style to kill the bottom margin for JUST that one case

2c


Iann128 #239650 09/23/2010 10:55 PM
Joined: Mar 2008
Posts: 262
enthusiast
enthusiast
Joined: Mar 2008
Posts: 262
That did it smile Now I have to remember that when I upgrade, right?


Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Iann128 #239651 09/23/2010 11:00 PM
Joined: Mar 2008
Posts: 262
enthusiast
enthusiast
Joined: Mar 2008
Posts: 262
Just found another issue with making that change, wonder if it is a wrapper issue, or what, but if you choose the black n gold, or ubbcentral it is all pushed to the left...


Ian
http://www.firstgenmc.com/ubbthreads

"Experience is a hard teacher because she gives the test first, the lesson afterwords."
Iann128 #239652 09/23/2010 11:01 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by Iann128
That did it smile Now I have to remember that when I upgrade, right?


yeppers

that's why on most of my threads sites, i have an 'SD forum' where i list files modified.

it's hidden to all but me.

also having Beyond Compare guarantees any OTHER changes that might have slipped thru.

it's perty easy to keep track of changes that way wink

Iann128 #239653 09/23/2010 11:03 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by Iann128
Just found another issue with making that change, wonder if it is a wrapper issue, or what, but if you choose the black n gold, or ubbcentral it is all pushed to the left...


yes, it is a wrapper issue. black/gold uses a different one.. so for your site with multiple styles / wrappers, that won't work each time..

this is one reason why i usually try to stress one common theme for a site.. or at the very least, maybe a common wrapper..

wink

a LOT less hassle


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)