IE中“资源搜索”页面样式调整

This commit is contained in:
linhk 2014-09-15 16:33:40 +08:00
parent 879e93beb9
commit a0d90e1697
1 changed files with 5 additions and 2 deletions

View File

@ -2,9 +2,9 @@
<%= render 'search_bar' %>
<% end %>
<div class="resource_sum">
<div class="resource_sum" id="IE_resource_sum_css">
<% @attach_array.each do |k|%>
<div class="line_block">
<div class="line_block" >
<p>
<%= @str_arr.shift %>
</p>
@ -64,5 +64,8 @@
$(this).find('img').attr("src", "/images/button/download.png")
});
});
if(navigator.appName=="Microsoft Internet Explorer"){
$("#IE_resource_sum_css").children(".line_block").css("width","45%");
}
});
</script>