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
Old 06-29-2010, 07:27 AM Footer problem
Extreme Talker

Posts: 161
Trades: 0
This is a site am working on but the footer for some reason is not in the right place can anyone help me see what i did wrong.

the site here
afcbob is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-29-2010, 08:07 AM Re: Footer problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Clear your floats - see our stickies for methods on how to do it and why you need to. However, add overflow:auto; to #content and it should fix the problem.
__________________
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 06-29-2010, 08:23 AM Re: Footer problem
Extreme Talker

Posts: 161
Trades: 0
Ok thanks for that will go away and read that links.
afcbob is offline
Reply With Quote
View Public Profile
 
Old 06-29-2010, 09:34 AM Re: Footer problem
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Clear your floats - see our stickies for methods on how to do it and why you need to. However, add overflow; to #content and it should fix the problem.
I'd recommend overflow: hidden
Firefox has some problems with overflow auto [also with hidden, but smaller]
__________________
you can
Please login or register to view this content. Registration is FREE

Last edited by vectorialpx; 06-29-2010 at 09:36 AM..
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 06-29-2010, 09:38 AM Re: Footer problem
Extreme Talker

Posts: 161
Trades: 0
will try both what problems does firefox have with them?
afcbob is offline
Reply With Quote
View Public Profile
 
Old 06-29-2010, 11:32 AM Re: Footer problem
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
at overflow: auto you can have some problems if the content is large. It also has some conflicts (not sure)... I had a problem in my blog and I got my content invisible, after 20 posts [it was a long scrollbar] with no reason.

at overflow: hidden, in firefox 2 [only on some versions] you have your element on top of position: absolute items, which is stupid. So, I recommend you overflow hidden if you don't have z-index elements (position absolute or relative).

It can also work with auto, it's Ok if you test everything before publish it
__________________
you can
Please login or register to view this content. Registration is FREE
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 06-29-2010, 04:58 PM Re: Footer problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
Firefox has some problems with overflow auto
No, it does not. However, IF you assign a HEIGHT to a div with overflow:auto on it and your content exceeds that height, you will get scrollbars. Easily fixed by understanding the box model.
__________________
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 06-30-2010, 03:47 AM Re: Footer problem
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
it's not about the scrollbar, it's about the height: auto
You will not get scrollbar, but if you have a big content, you can have problems.
In my problem, I used overflow: hidden and it was OK.

Here it is a demo:
I have Firefox 2.0.0.20 and looking at
http://www.vectorialpx.net/diverse/overflow_test.html
I can see that the content is gone [somewere down]

But
http://www.vectorialpx.net/diverse/overflow_1_test.html
has overflow hidden and the content is OK
__________________
you can
Please login or register to view this content. Registration is FREE
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 06-30-2010, 11:19 AM Re: Footer problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Again, if you assign a height (or width) and the CONTENT you put inside that div exceeds the height or width of the 'box' then you are going to get scrollbars. People fail to understand the box model.

Using height: auto is rather pointless in most cases because the DEFAULT behavior is to stretch to hold the content within the div - unless you are specifying a set height. Width:auto is equally pointless in most cases.

Your examples look exactly the same to me - using Firefox 3.6.6
__________________
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 06-30-2010, 11:28 AM Re: Footer problem
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
I just told you it's about Firefox 2 [read above]
A developer has to make a script [CSS, javascript etc etc] for every browser, not only for FF3 or IE8+

Anyway... it works with auto. Do as you wish..
__________________
you can
Please login or register to view this content. Registration is FREE

Last edited by vectorialpx; 06-30-2010 at 11:29 AM..
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 06-30-2010, 02:20 PM Re: Footer problem
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
A developer has to make a script [CSS, javascript etc etc] for every browser, not only for FF3 or IE8+
I would argue that you don't -- the only browser you really have to 'fix' is IE.
__________________
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 Footer problem
 

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