Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS adding extra border.
Old 01-29-2009, 05:36 AM CSS adding extra border.
Average Talker

Posts: 22
Name: Andrew McGrath
Trades: 0
Hi everyone,

This is my first post. This seems like a great forum, and I hope to be frequenting it often from now on.

Anyway, I have a series of website I'm working on (they're all in my signature). One of them YouTubeKeep.com, looks freaking awful, I know!
I've had my friend working on a design in his free time.

Both of us are self-taught when it comes to web scripting, so we're having some trouble with the CSS.

You can see it here:
http://www.youtubekeep.com/temp_new_.../mainpage.html

CSS is obviously at:
http://www.youtubekeep.com/temp_new_design/master.css

The problem is that extra grey border surrounding everything. It's not supposed to be there and it cuts off the ads (well their placeholders).

That border is actually supposed to surround the footer of the page (the copyright and links).

Thanks in advance.
__________________

Please login or register to view this content. Registration is FREE
- Search engine optimisation articles.
Please login or register to view this content. Registration is FREE
- Video search.
Please login or register to view this content. Registration is FREE
- Watch, download and keep YouTube videos.
Please login or register to view this content. Registration is FREE
- Advice on relationships, etiquette and everyday life.
andmcg1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-29-2009, 06:38 AM Re: CSS adding extra border.
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Your #wrapper isn't stretching to it's contents length, so the footer kinda fills that space.
What I think you should do, is put an extra div as the last element of your #wrapper with style="clear: both".
There is also a new way of stretching floats, but I'm not sure you can use it now because you already have the overflow property in use.
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 01-29-2009, 04:08 PM Re: CSS adding extra border.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Quote:
put an extra div as the last element of your #wrapper with style="clear: both".
No, don't add an extra useless div for this.

All you need to do is add overflow:auto to #wrapper and #main and the wrapper will then contain the floated elements.

You need to learn about CLEARING FLOATS.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-29-2009, 04:22 PM Re: CSS adding extra border.
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Yea I almost said that, but I saw he was using overflow: hidden. So...
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 01-29-2009, 04:24 PM Re: CSS adding extra border.
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
I forgot to mention - you need to REMOVE the clear:both on those divs - that is NOT the proper way to clear floats, it's quite pointless actually.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-29-2009, 05:08 PM Re: CSS adding extra border.
Novice Talker

Posts: 3
Trades: 0
haha yeah better remove those.
alexleeds is offline
Reply With Quote
View Public Profile
 
Old 01-29-2009, 05:14 PM Re: CSS adding extra border.
Average Talker

Posts: 22
Name: Andrew McGrath
Trades: 0
Thanks heaps for the quick replies! It fixed it, yay!

Like I said, me and my friend (who did the design and CSS) are both self-taught and haven't had much experience.

Thanks again!
__________________

Please login or register to view this content. Registration is FREE
- Search engine optimisation articles.
Please login or register to view this content. Registration is FREE
- Video search.
Please login or register to view this content. Registration is FREE
- Watch, download and keep YouTube videos.
Please login or register to view this content. Registration is FREE
- Advice on relationships, etiquette and everyday life.
andmcg1 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS adding extra border.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24998 seconds with 12 queries