修改了html边界超出问题

This commit is contained in:
huang 2015-01-17 12:34:57 +08:00
parent e75193e35a
commit 6e698d45bb
3 changed files with 5 additions and 5 deletions

View File

@ -63,9 +63,9 @@ module PollHelper
when 2 when 2
"多选题" "多选题"
when 3 when 3
"单行主观" "单行主观"
else else
"多行主观" "多行主观"
end end
end end

View File

@ -6,7 +6,7 @@
</tr> </tr>
<% poll_question.poll_votes.each do |poll_vote| %> <% poll_question.poll_votes.each do |poll_vote| %>
<tr> <tr>
<td class="td111"><%= poll_vote.vote_text %>dddd </td> <td class="td111"><%= poll_vote.vote_text.html_safe %> </td>
</tr> </tr>
<% end %> <% end %>
<tr class="table_bluebg"> <tr class="table_bluebg">

View File

@ -65,10 +65,10 @@ a:hover.ur_button{ background:#0fa9bb; text-decoration:none;}
.ur_table_result{ color:#5d5d5d;border-right:1px solid #cbcbcb;border-bottom:1px solid #cbcbcb;} .ur_table_result{ color:#5d5d5d;border-right:1px solid #cbcbcb;border-bottom:1px solid #cbcbcb;}
.ur_table_result tr td{ border-left:1px solid #cbcbcb;border-top:1px solid #cbcbcb; height:20px;} .ur_table_result tr td{ border-left:1px solid #cbcbcb;border-top:1px solid #cbcbcb; height:20px;}
.table_bluebg{ background:#d7e5ee; color:#2f3a40; height:24px;} .table_bluebg{ background:#d7e5ee; color:#2f3a40; height:24px;}
.td327{ width:300px; padding-left:5px;} .td327{ width:601px; padding-left:5px;}
.td42{ width:42px; text-align:center;} .td42{ width:42px; text-align:center;}
.td287{ width:259px;padding-left:5px; } .td287{ width:259px;padding-left:5px; }
.td111{ width:601px;padding-left:5px; } .td111{ width:601px;padding-left:5px; word-break:break-all; word-wrap:break-word }
.Bar{ position: relative; width: 120px; border: 1px solid #cbcbcb; float:left; height:10px; margin-top:5px; margin-right:3px; } .Bar{ position: relative; width: 120px; border: 1px solid #cbcbcb; float:left; height:10px; margin-top:5px; margin-right:3px; }
.Bar span{ display: block; position: relative;background:#64badb;/* 进度条背景颜色 */ color: #333333;height: 10px; /* 高度 */ line-height: 20px; } .Bar span{ display: block; position: relative;background:#64badb;/* 进度条背景颜色 */ color: #333333;height: 10px; /* 高度 */ line-height: 20px; }
.ur_progress_text{ color:#3a3a3a;} .ur_progress_text{ color:#3a3a3a;}