Closed (fixed)
Project:
Panels Everywhere
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2011 at 04:33 UTC
Updated:
14 Jul 2011 at 23:31 UTC
I've been trying to troubleshoot a ~20px gap that is appearing at the bottom of my site.
You can view it live here http://www.nachosyllabus.com
Screenshot highlighting the gap http://awesomescreenshot.com/0e6fpp94f
At first I thought it was my CSS, but now I'm almost certain it has to do with panels' use of clearfix::after
CSS Wizards, what are you thoughts?
Comments
Comment #1
nevets commentedCan't find the exact cause but you have a number of empty panels/panes there at the end.
Comment #2
bryancasler commentedYa, those are going to be filled in due time. But even on pages where they have already been filled in, the problem still persist.
Comment #3
nevets commentedA link to a page where they are filled in would help, try to determine what is happening with all those empty divs make the problem more of a challenge.
Comment #4
merlinofchaos commentedThat's core's use of clearfix:after
Maybe add this:
Comment #5
bryancasler commentedThanks for helping everyone, those empty divs have placeholders now. And I added Merlin's bit of CSS.
If I switch clearfix::after from hidden to visible you can still see additions being made even after Merlin's fix.
I was still having trouble figuring out which clearfix's where still causing the problem because the periods were overlapping. So I decided to throw this bit of CSS in to create a bit of visual distinction.
Then I viewed the page and un-hid the clearfixe's. Turn's out the culprits were....
This resolved the problem, but it also made me wonder, is there a reason we can't just use
clearfix::after{content: " "}for the whole site? Or is there a reason there needs to be a period in there? It's also odd that something that has visibility:hidden would still be taking up vertical space.Comment #6
bryancasler commentedLooks like this issue has been discussed.
#457778: White space at bottom of page: .clear-block versus .clearfix
You just need to add
font-size: 0;toclearfix::afterComment #7
merlinofchaos commentedHey, thanks for finding that!