Thread
:
Crazy problem. By removing CSS float the JS doesn't work.
View Single Post
10-06-2012, 11:48 PM
PM User
|
#
2
AndrewGSW
Senior Coder
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
A parent element that contains only floated elements
collapses
such that its height is 0. The provided link discusses ways to
clear floats
.
Adding
overflow:auto
to the parent element often works to fix this.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total
uninanonynymity
."
Me Myself & Irene
.
Validate your
HTML
and
CSS
AndrewGSW
View Public Profile
Find More Posts by AndrewGSW