Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Spaces in boxes
Pleasuregirl (New Admin) 3/14/2009 4:00 PM EST : Spaces in boxes

Pleasuregirl
Posts: 57
Posts With Wolves

I have to mutch spaces under my text in boxes.
Have look every where and can not find where i can change it.
Here is our site, maybe you understand what problem i need help with.

//Jalla
TopBottom

Mottie (MVP) 3/14/2009 10:41 PM EST : RE: Spaces in boxes
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi Pleasuregirl!

I apologize, the extra space you are seeing is because I added extra line breaks into the Custom Content Box HTML while testing. Also from looking at your site, you included the CSS in each custom content box HTML. This isn't necessary as you only need one copy of the CSS. So, replace all three - left, center and right Custom Content Box HTML with this:
<div class="ContentBox" id="box_$block[title]">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td class="TopLeft">&nbsp;</td>
  <td class="TopBackground">
   <div class="TopTitleBox">
    <div class="ContentBoxTitle">$block[title]&nbsp;</div>
   </div>
  </td>
  <td class="TopRight">&nbsp;</td>
 </tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="LeftSide" valign="top"><div class="LeftTop"></div></td>
  <td class="ContentBoxBody">$block[content]&nbsp;</td>
  <td class="RightSide" valign="top"><div class="RightTop"></div></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
  <td class="BottomLeft">&nbsp;</td>
  <td class="BottomBackground">&nbsp;</td>
  <td class="BottomRight">&nbsp;</td>
</tr>
</table>
</div>
<br>
Then add this CSS into your Banner HTML... since I notice you aren't usng a Custom CSS Stylesheet
<style type="text/css">
.ContentBox table { empty-cells: show;}
.ContentBoxTitle { color:#ffffff; text-align:left; padding: 2px 0px 0px 30px; }
.ContentBoxBody { background:#000000; color: #ffffff; margin:3px; vertical-align:top; }

.TopLeft {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/top_leftGold.png) no-repeat; height:28px; width:27px; }
.TopBackground { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/topGold.png) repeat-x; height:28px; }
.TopTitleBox { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/left_contenttopGold.png) no-repeat; height:28px; width:159px; }
.TopRight {background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/top_rightGold.png) no-repeat; height:28px; width:27px; }

.LeftTop { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/top_left_faderGold.png) no-repeat; width:27px; height:56px; }
.LeftSide { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/leftGold.png) repeat-y; width:27px;  }

.RightTop { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/Top_right_faderGold.png) no-repeat; width:28px; height:56px; }
.RightSide { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/rightGold.png) repeat-y; width:28px; }

.BottomLeft { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/bottom_leftGold.png) no-repeat; height:28px; width:27px; }
.BottomBackground { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/bottomGold.png) repeat-x; height:28px; }
.BottomRight { background: url(http://i201.photobucket.com/albums/aa236/Mottie1/testsite/styles/bottom_rightGold.png) no-repeat; height:28px; width:27px; }
</style>
This is basically a repost from this thread, I hope this helped!
TopBottom

Pleasuregirl (New Admin) 3/15/2009 5:43 AM EST : RE: Spaces in boxes

Pleasuregirl
Posts: 57
Posts With Wolves

THX Mottie!

It's helpt me to take away my space i have!

No we didt have custom css on our site.
Now we have i hope!?
But this gave me another problem... Our banner is not showing now because we have a costum css or?
Have look at our test site to find how i get it back, but can not find some one who be suitable.
Now when we have custom css... If we want some new css code in our ex.banner html, where do we putt it?
Can we putt it in befor or after the script you gave us above or can you only have one script per css document?

Hope you understand what im looking for!
Its fun to learn new things and try it to work out well!
This is new for me to work with css and its very powerful tool!
TopBottom

Mottie (MVP) 3/15/2009 7:33 AM EST : RE: Spaces in boxes
GuildPortal MVP
Mottie
Posts: 3884
Zomgawsh Poster

Hi again!

It looks like you may have turned on your Custom CSS, which means you won't be able to use the control panel to make any changes to the site unless you do it yourself with CSS. If you'd like to turn it back off, just go to Control Panel > Custom Code > Custom CSS, then uncheck the "Enabled" box at the bottom and click "Save"

To add the image back to your Banner, just go to Control Panel > Custom Images > Banner HTML then enter the following at the top:
$block[bannerimage]
Anytime you want to add new CSS you can either add it to your Custom CSS (if you have it enabled) or into the Banner HTML or Footer HTML. Just so you know, the Banner HTML does have a limit on the amount of stuff you can add in there. When adding CSS, you can add it either above or below the script or any other CSS, so yes you can add more than one script per page and more than one block of CSS per page.

TopBottom

Pleasuregirl (New Admin) 3/15/2009 8:00 AM EST : RE: Spaces in boxes

Pleasuregirl
Posts: 57
Posts With Wolves

Hi again!

Now we get our banner back!

Yes its look like we have custom on and we think we are gonna have it on in the future.
But maybe is to differcult for us to have it, we dont know so mutch about css.
I dont want to be a pain for you all who know alot of it!
But it have been fun to learn how css works and design our site.

Thx our Mastah!
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%