|
|
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.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
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: <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
|
|
|
|
Joined: Mar 2008
Posts: 262
enthusiast
|
enthusiast
Joined: Mar 2008
Posts: 262 |
That did it Now I have to remember that when I upgrade, right?
|
|
|
|
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...
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
That did it 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
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
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.. a LOT less hassle
|
|
|
0 members (),
396
guests, and
110
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|