UBB.Dev
Posted By: bpeirce My sidebar and footer are driving me crazy! - 05/25/2005 6:32 AM
I can't figure out how to get my footer code to sit right below my forum's body. My footer code is always at the bottom of every page and since my right sidebar is very long, no one sees the bottom of my pages.

Here's a short post someone made, notice how the Google search engine box is waaaayyy at the bottom of the page? I want it to be right below the last post. http://www.ffcobra.com/ubb/ultimatebb.php/ubb/get_topic/f/1/t/056443.html

Here's my web page:

http://www.ffcobra.com/cgi-bin/ultimatebb.cgi

Thanks!

- Bill
nice site smile

To get your code to sit at the bottom of the tables you'll need to put that code in that instead of closing the and starting your footer code in the next open
Thanks, it sure is busy. I love UBB and have been using it for 8 years.

OK, so I have no idea what you mean. LOL. I'll look at my code and see if I see something like that. Thanks!

- Bill
OK, I tried to figure this out. But I don't understand.

- Bill
ok, at work now, will check it out later, but the point is to snug your google code up to the ending content of your body and not down to the starting content of your footer.
Hi Allen -

Thanks for your help. I guess I don't understand tables. I'm an HTML idiot. smile I can cut and paste code. I think your tutoral is how I first created my sidebar two years ago and haven't messed with it since. But now that I'm adding in advertisers, I was trying to snug the bottom footer to be right under the last reply in posts to make it look better.

Have a great day and thanks again for your help.

Bill
You're welcome smile

The first thing you might do is validate your html:

http://validator.w3.org/check?uri=http://www.ffcobra.com/ubb/ultimatebb.php&doctype=XHTML+1.0+Transitional&ss=1

Skip the parts that are about the base ubb code, just work on the parts that correspond to your header/footer/header insert html. That will make sure your site displays as well as possible in all browsers, the error message will tell you basically what the problem is and how to fix it. THEN we can tweak it a bit to look/work like you want it smile
Posted By: bpeirce Re: My sidebar and footer are driving me crazy! - 05/25/2005 11:50 PM
Wow, that was a lot of problems! I got it down from 160 errors to 97. Many of these errors were caused by using MS FrontPage to build my tables. I must leave a ton of img tags hanging out and p tags left out. Weird.

- Bill
Good, a lot of the ones left will be due to ubb's handling of personalized timezones. Let me know when you get the ones related to your html fixed smile
You can fix the last one like this:

Change from:
Code
<td width="100%" background="http://www.ffcobra.com/new_design/top1_backround.gif">
To something like this:
Code
<td width="100%" style="background-image: url(http://www.ffcobra.com/new_design/top1_backround.gif); padding:0px;">
That'll validate and should look the same as your current style.
Cool, thanks. Any idea how I can get the bottom area to sit up under the last posts?

Thanks,

- Bill
For your google html you could change it to something like this:

From this:



to this:

did it work?
Hi Allen

I think so, I'll upload the code and let you know.

Thanks for your help!

Bill
© UBB.Developers