diff options
author | francis <francis> | 2009-01-19 15:57:27 +0000 |
---|---|---|
committer | francis <francis> | 2009-01-19 15:57:27 +0000 |
commit | 59d2283d96a4a1e76f9ee0815cd68449e4e36dc9 (patch) | |
tree | 300bad4c91e5bf9bb2a83ba333870bdb9a4cfa0a | |
parent | 62137b86dc78f6494dee68a94a99966f44959e36 (diff) |
Fix display of campaign advert in IE6
-rw-r--r-- | app/views/layouts/default.rhtml | 3 | ||||
-rw-r--r-- | public/stylesheets/ie6.css | 3 | ||||
-rw-r--r-- | public/stylesheets/main.css | 3 |
3 files changed, 8 insertions, 1 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index f7174fa38..dfeb133f5 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -13,6 +13,9 @@ <%= stylesheet_link_tag 'main', :title => "Main", :rel => "stylesheet" %> <%= stylesheet_link_tag 'yucky-green', :title => "Yucky Green", :rel => "alternate stylesheet" %> + <!--[if LT IE 7]> + <style type="text/css">@import url("/stylesheets/ie6.css");</style> + <![endif]--> <% if @feed_autodetect %> <% for feed in @feed_autodetect %> diff --git a/public/stylesheets/ie6.css b/public/stylesheets/ie6.css new file mode 100644 index 000000000..5eff5fac9 --- /dev/null +++ b/public/stylesheets/ie6.css @@ -0,0 +1,3 @@ +#everypage { + position: absolute; +} diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 464d992e7..c0f4ba2cc 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -959,7 +959,8 @@ div.act_link img { opacity: 0.97; -moz-border-radius-bottomleft: 10px; -moz-border-radius-bottomright: 10px; /* Rounded bottom corners */ padding: 4px; - position: fixed; width: 70%; left: 50%; margin-left: -35%; /* So centered on screen, always visible */ + position: fixed; + width: 70%; left: 15%; /* So centered on screen, always visible */ z-index: 200; /* So on top */ max-height: 95%; overflow: auto; /* So on e.g. 800x600 scrollbar appears */ } |