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



Closed Thread
Old 11-04-2008, 08:37 PM Unwanted gap
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
On my test blog here: http://exp212.blogspot.com I have a rather large gap between sidebar and main body. What do I need to be looking for in my template so that I can close it up? The block of code for both my sidebar and main are as follows:

Quote:
#main-wrapper {
margin-top: 38px;
width: 510px;
float: $endSide;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}

#sidebar-wrapper {
margin-top: -22px;
width: 100px;
float: $startSide;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
overflow: hidden; /* fix for long non-text content breaking IE sidebar float */
}
Is there where I need to be looking?

Last edited by Billy; 11-04-2008 at 08:39 PM..
Billy is offline
View Public Profile
 
 
Register now for full access!
Old 11-05-2008, 08:25 AM Re: Unwanted gap
rezzy's Avatar
Super Talker

Posts: 115
Location: in the interwebz
Trades: 0
well, the only thing I can imagine that will bring those two elements together is if you. Set a width for content-wrapper.

Its actually doing exactly what your code is telling it. The side bar, is floating left and the other is floating right.

Try setting a width for the content-wrapper and see if that will improve it.
__________________

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

Resnodesigns
rezzy is offline
View Public Profile
 
Old 11-05-2008, 10:39 AM Re: Unwanted gap
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
give width to #outer-wrapper
i tested it with 650px, and it is ok
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
djura is offline
View Public Profile Visit djura's homepage!
 
Old 11-05-2008, 02:09 PM Re: Unwanted gap
Skilled Talker

Posts: 54
Name: Fred
Trades: 0
Thank you both very much.

Yup! That did it. Thanks again

Last edited by Billy; 11-05-2008 at 02:11 PM..
Billy is offline
View Public Profile
 
Closed Thread     « Reply to Unwanted gap
 

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.17605 seconds with 12 queries