Browse Source

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.

main
Tara Feener 13 years ago
committed by Lakshmi Vyasarajan
parent
commit
6f3ce028f7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      hyde/layouts/basic/content/media/css/site.css

+ 3
- 3
hyde/layouts/basic/content/media/css/site.css View File

@@ -28,7 +28,7 @@ table {
} }


/* clearfix */ /* clearfix */
.clear:after {
.clearfix:after {
content: "."; content: ".";
display: block; display: block;
clear: both; clear: both;
@@ -37,12 +37,12 @@ table {
height: 0; height: 0;
} }


.clear {
.clearfix {
display: block; display: block;
} }




* html .clear {
* html .clearfix {
height: 1%; height: 1%;
} }




Loading…
Cancel
Save