1.#1802 修复页面下方有很大一片空白

2.修复系统文本框的padding、margin都为0
This commit is contained in:
sw 2015-01-17 12:12:06 +08:00
parent 4e19690887
commit bba213dec9
1 changed files with 9 additions and 9 deletions

View File

@ -61,8 +61,8 @@ function f_submit()
<style type="text/css"> <style type="text/css">
/*浮窗*/ /*浮窗*/
body{ height:3000px; font-family:'微软雅黑';} /*body{ height:3000px; font-family:'微软雅黑';}*/
div,ul,li,body,h3,p{margin:0; padding:0;} /*div,ul,li,body,h3,p{margin:0; padding:0;}*/
a{ text-decoration:none;} a{ text-decoration:none;}
#roll{ background:url(/images/f_opnion.jpg) 0 0 no-repeat;width:157px; height:332px; position:absolute;} #roll{ background:url(/images/f_opnion.jpg) 0 0 no-repeat;width:157px; height:332px; position:absolute;}
.opnionBox{ width: 130px; height:146px; margin:76px auto 20px; } .opnionBox{ width: 130px; height:146px; margin:76px auto 20px; }
@ -100,11 +100,11 @@ a:hover.opnionButton{ text-decoration:underline;}
<% get_memo %> <% get_memo %>
<%= form_for(@new_memo, :url => create_feedback_forum_path(@public_forum)) do |f| %> <%= form_for(@new_memo, :url => create_feedback_forum_path(@public_forum)) do |f| %>
<div class="actions" style="max-width:680px"> <div class="actions" style="max-width:680px;">
<p> <p style="margin:0; padding:0;">
<%= f.text_area :subject, :class => "opnionText",:placeholder => "有什么想说的,尽管来咆哮吧~~"%> <%= f.text_area :subject, :class => "opnionText",:placeholder => "有什么想说的,尽管来咆哮吧~~"%>
</p> </p>
<p> <p style="margin:0; padding:0;">
<%= f.hidden_field :content, :required => true ,:value=>'该贴来自用户反馈!'%> <%= f.hidden_field :content, :required => true ,:value=>'该贴来自用户反馈!'%>
</p> </p>
<%#= f.submit :value => l(:label_memo_create), :class => "opnionButton", :id => "button1" %> <%#= f.submit :value => l(:label_memo_create), :class => "opnionButton", :id => "button1" %>
@ -119,7 +119,7 @@ a:hover.opnionButton{ text-decoration:underline;}
<div class="opnionCall"> <div class="opnionCall">
<div class="tectitle">技术支持:</div> <div class="tectitle">技术支持:</div>
<p ><%= l(:label_course_adcolick) %><a href="http://user.trustie.net/users/12/user_newfeedback">黄井泉</a><br> <p style="margin:0; padding:0;" ><%= l(:label_course_adcolick) %><a href="http://user.trustie.net/users/12/user_newfeedback">黄井泉</a><br>
<%= l(:label_course_adcolick) %><a href="http://user.trustie.net/users/34/user_newfeedback">白羽</a></p> <%= l(:label_course_adcolick) %><a href="http://user.trustie.net/users/34/user_newfeedback">白羽</a></p>
</div> </div>