diff --git a/app/views/homework_attach/_homeworks_list.html.erb b/app/views/homework_attach/_homeworks_list.html.erb index f5d0f3616..c235133a1 100644 --- a/app/views/homework_attach/_homeworks_list.html.erb +++ b/app/views/homework_attach/_homeworks_list.html.erb @@ -48,8 +48,8 @@
  • 您还没提交作品,请点击提交作品按钮:)
  • -
  • - <%= link_to "提交作品", new_exercise_book_path(@bid), :style => "width:80px; margin:20px 0 0 350px;" %> +
  • + <%= link_to "提交作品", new_exercise_book_path(@bid), :style => "margin:20px 20px 0 0;width:80px;" %>
  • diff --git a/public/stylesheets/css.css b/public/stylesheets/css.css index 57b3499db..2efec2bbf 100644 --- a/public/stylesheets/css.css +++ b/public/stylesheets/css.css @@ -5,10 +5,13 @@ div,img,tr,td,textarea{ border:0;} table,tr,td{border:0; cellspacing:0; cellpadding:0;} ul,li{ list-style-type:none} .cl{ clear:both; overflow:hidden; } -a{ text-decoration:none; } +a{ text-decoration:none !important; } a:hover{ text-decoration:underline;} .container{ width:940px; margin:0 auto; } +.mr20{margin-right: 20px} +.mt20{margin-top: 20px} +.w80{width:80px;} /* 作业列表 */ .ttl{ } .ctt{clear:both; }