diff --git a/anne-survey.rb b/anne-survey.rb index ef82649..a575586 100644 --- a/anne-survey.rb +++ b/anne-survey.rb @@ -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; }