From ec99ef29b5e3b0b272a60453a04504ae1f4f1d9a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 4 Dec 2007 15:00:02 -0600 Subject: [PATCH] Adding "clearfix" class, used to add clearning to element without use of break or other additional markup. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index c16b038fba..0bd9a2f6cd 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -976,4 +976,16 @@ margin-top : .4em; margin : .3em -1px 0 2%; display: inline /* fix IE6 */; line-height : 40px; -} \ No newline at end of file +} + +.clearfix:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +} + +/* Hides from IE-mac \*/ +* html .clearfix {height: 1%;} +/* End hide from IE-mac */ \ No newline at end of file -- 2.39.5