Skip to content

Commit

Permalink
Fixed CSS in tableview
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwahl committed Nov 12, 2014
1 parent a067719 commit 70358fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
20 changes: 8 additions & 12 deletions messageboard/mainsite/static/mainsite/tableview.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
.info {
background-color: lightblue;
float: left;
width: 89px;
height: 288px;
width: 109px;
height: 296px;
border: 1px solid #000000;
margin: 0px;
padding: 4px;
overflow-y: scroll;
overflow-x: hidden;
}
.topicBox{
float: left;
Expand All @@ -15,14 +16,14 @@
}
.messages{
float: left;
width: 299px;
width: 287px;
height: 273px;
overflow-y: scroll;
border: 1px solid #000000;
}
.textbox{
float: left;
width: 299px;
width: 287px;
height: 21px;
border: 1px solid #000000;
}
Expand All @@ -36,16 +37,11 @@
}
.allTopics{
float: left;

display:-moz-box;
display:box;

-moz-box-pack: center;
box-pack: center;
width: 80%;
}
.navBar{
float: left;
width: 220px;
width: 20%;
}
h1{
text-align: center;
Expand Down
4 changes: 2 additions & 2 deletions messageboard/mainsite/templates/tableview.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1> Message Board </h1>
<form action="" method="POST">
{% csrf_token %}
<input type="hidden" name="topic_id" value="{{ topic.id }}"/>
<input type="text" name="tag_name" size="10"/><br>
<input type="text" name="tag_name" size="8"/><br>
<input type="submit" name="POST_add_tag" value="Add"/><br>
<input type="submit" name="POST_remove_tag" value="Remove"/>
</form>
Expand All @@ -89,7 +89,7 @@ <h1> Message Board </h1>
<div class="textbox" align="center">
<form id="new_message" action= "" method="post">
{% csrf_token %}
<input type="text" id="message_content" name="message_content" size="38" autocomplete="off" placeholder="Enter a message to chat..."/>
<input type="text" id="message_content" name="message_content" size="36" autocomplete="off" placeholder="Enter a message to chat..."/>
<input type="hidden" name="topic_id" value="{{ topic.id }}"/>
<input type="submit" name="POST_post" value="Post" hidden="true"/>
</form>
Expand Down

0 comments on commit 70358fd

Please sign in to comment.