From 6f3ce028f71dd0e311b39e932ab736679be9271f Mon Sep 17 00:00:00 2001 From: Tara Feener Date: Thu, 23 Feb 2012 00:24:34 -0800 Subject: [PATCH] Updating the .clear styleName to be .clearfix instead. Base.j2 applies the 'clearfix' class to the 'banner' element, and not the 'clear' class. Discovered after inserting relatively position as opposed to absolutely position children into banner, floated left, and noting clearfix wasn't being properly applied to grow the height of the banner element to its children. We *could* also change the class applied to the banner to be 'clear' instead of 'clearfix', but I'd rather go with the former. --- hyde/layouts/basic/content/media/css/site.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hyde/layouts/basic/content/media/css/site.css b/hyde/layouts/basic/content/media/css/site.css index e24db41..53730ee 100644 --- a/hyde/layouts/basic/content/media/css/site.css +++ b/hyde/layouts/basic/content/media/css/site.css @@ -28,7 +28,7 @@ table { } /* clearfix */ -.clear:after { +.clearfix:after { content: "."; display: block; clear: both; @@ -37,12 +37,12 @@ table { height: 0; } -.clear { +.clearfix { display: block; } -* html .clear { +* html .clearfix { height: 1%; }