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
Floating div gets pushed down on low res
Old 12-31-2006, 02:30 AM Floating div gets pushed down on low res
Extreme Talker

Posts: 217
Trades: 0
I have a small problem...There is a sidebar on a site design im working on. The problem is that on 800x600, or when you shrink the window, it pushes the sidebar to the bottom of the page. I have tried all kinds of things and nothing seems to work!

Here is the link to the design: http://helmgames.com/redesign/index.php

Here is the CSS for the sidebar container:
Code:
#containerleft{
    width: 587px;
    float: left;
}
and incase you dont feel like reading the source... the HTML is set up like this:
HTML Code:
<div id="containerleft">//main sidebar container
    <div id="top">//top peice of the sidebar
    </div>

    <div id="bg">//main part of the sidebar
           //content
     </div>

     <div id="bottom">//bottom peice
     </div>
</div>
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-02-2007, 04:43 PM Re: Floating div gets pushed down on low res
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
You're getting float drop, a product of total widths that are wider than the available window space. You must remember to compute widths and include the padding and margins in those calcs.
__________________
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-02-2007, 06:45 PM Re: Floating div gets pushed down on low res
Extreme Talker

Posts: 217
Trades: 0
well i seemed to have fixed it. Just used percentages instead
__________________

Please login or register to view this content. Registration is FREE
Slick Nick is offline
Reply With Quote
View Public Profile
 
Old 01-02-2007, 07:04 PM Re: Floating div gets pushed down on low res
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
That works Congrats !
__________________
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
 
Reply     « Reply to Floating div gets pushed down on low res
 

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