Sai Krishna k avatar Sai Krishna k committed 6cd8ac3

small fix

Comments (0)

Files changed (3)

blog/templates/blog_detail.html

 box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
 margin-top: 20px;
 background: white;
+float: left;
 }
 .each_blog .heading{
   padding: 20px;
   width: 1000px;
   margin: auto;
 }
-.comments{
+.blog_content{
+  width: 100%;
   float: left;
+}
+.blog_comments{
   width: 100%;
+  float: left;
 }
 </style>
 
 <div class="container page-container" id='content'>
 
 <div class="each_blog">
+  <div class="blog_content">
     <div class='heading'>
       <a href=''>
       <h2 class="each_blog_heading">{{blog.blog_title}}</h2>
     
   {{blog.blog_data|safe}} 
  
-
+</div>
  <!-- using django comments module -->
+ <div class="blog_comments">
     <div class="comments">
       <hr/>
       {% load comments %}
     <div class="">
       {% render_comment_form for blog %}
     </div> 
-
-
+  </div>
 </div>
 <!--
 <div class="span12">

comments/form.html

 {% load comments i18n %}
-<div id="span12 comments_form">
+<div id="comments_form">
 <form action="{% comment_form_target %}" method="post">{% csrf_token %}
   {% if next %}<div><input type="hidden" name="next" value="{{ next }}" /></div>{% endif %}
   {% for field in form %}
 <style type="text/css">
 .comments_form{
   border-top: 1px solid black;
+  
 }
 #hide_email{
   width: 300px;

comments/list.html

 	font-weight: bold;
 }
 .each_comment{
-	
+	padding-left: 10px;
 }
 </style>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.