Make the image positioning work under IE, using ugly fixed positioning hacks.

This commit is contained in:
Paul van Tilburg 2010-06-01 12:01:59 +02:00
parent 2af507f23d
commit 2b21acb16a
1 changed files with 6 additions and 4 deletions

View File

@ -238,7 +238,7 @@ module Anne::Views
def vote(image, progress = 0)
h2 "Welk beeld is ruimtelijker?"
form :action => R(Vote), :method => :post do
form.images! :action => R(Vote), :method => :post do
input :type => "hidden", :name => "image", :value => image
input.image :type => "image", :src => R(ImageX, "#{image}-l.png"),
:name => "left", :id => "left"
@ -309,16 +309,18 @@ body {
#header h1 { padding-top: 25px; margin-top: 0px; }
.image { border: thin solid #888; }
#right { float: right }
#images { position: relative; height: 470px; }
#left { position: absolute; left: 0px; }
#right { position: absolute; right: 0px; }
#progressbar {
height: 6px;
margin-top: 14px;
margin-top: 8px;
background-color: #101073;
}
#progressbar #done {
height: inherit;
height: 6px;
background-color: #d6007b;
}