diff options
author | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-24 14:15:40 +0000 |
---|---|---|
committer | Josh Angell <josh@supercooldesign.co.uk> | 2012-02-24 14:15:40 +0000 |
commit | 4d2228ad5fdf3ad698a61e577e7915b5aff107a9 (patch) | |
tree | f7041fc66a0923d625275a7fcb52859e54ecb0cd | |
parent | d7c840968eb53b5923cf3ba2bdf03328a91869c7 (diff) |
Fix some ie bugs with main page navbar stuff
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r-- | web/cobrands/fixmystreet/layout.scss | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss index b22eaf472..fad6d433b 100644 --- a/web/cobrands/fixmystreet/layout.scss +++ b/web/cobrands/fixmystreet/layout.scss @@ -35,7 +35,7 @@ body { //so to fix things we give it a high value (don't ask me why) //see: http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug/ //this affects #site-logo -.ie7, .ie7 { +.ie6, .ie7 { .container { z-index:100; } @@ -66,7 +66,6 @@ body { } } - //position absolute the menu as ie doesn't like display:table .ie6, .ie7 { .nav-wrapper { @@ -77,7 +76,7 @@ body { // position static as well so we fix lots of the z-index issues position:static; } - } + } } // Resets a lot of the mobile styling. #site-header only used to help position logo on desktop @@ -94,17 +93,15 @@ body { position: absolute; z-index: 3; } -#nav-link { - left:-999999px; -} -//fix logo position as a result of fiddling the with position attributes -//on the parent elements -.ie6, .ie7, .ie8 { +.ie6, .ie7 { #site-logo { position: absolute; top:-3.25em; } } +#nav-link { + left:-999999px; +} #main-nav{ margin: 0 auto; padding: 0em; @@ -214,10 +211,11 @@ body.mappage { } #site-logo{ position: fixed; - z-index:10000; } } + + // full width page body.fullwidthpage { .content { |