made div for fields...

This commit is contained in:
Karen 2011-08-03 20:07:26 +05:30
parent 271b93fa78
commit 23bdb87085
3 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,26 @@
#wooden
{width:100%;
height:680px;
background:url(/static/images/noel/wooden1.jpg) repeat;
display:table;
overflow:hidden;
position:relative;}
#regContent
{width:400px;
background-color:#FFF;
position:absolute;
right:0px;
left:0px;
display: table-cell; vertical-align: middle;margin:0 auto;
padding:30px;
-moz-border-radius:20px;
-webkit-border-radius:20px;
border-radius:20px;
-moz-box-shadow:2px 3px 20px #252425;
-webkit-box-shadow:2px 3px 20px #252425;
box-shadow: 2px 3px 20px #252425;
margin-top:100px;}

View File

@ -1,9 +1,16 @@
{% extends "noel/base.html" %} {% extends "noel/base.html" %}
{% block extra_head %}
<link rel="stylesheet" href="/static/css/register.css" />
{% endblock %}
{% block content %} {% block content %}
<div id="wooden">
<div id="regContent">
{% block reg_content %} {% block reg_content %}
{% endblock %} {% endblock %}
</div>
</div>
{% endblock %} {% endblock %}

View File

@ -1,5 +1,7 @@
{% extends 'registration/register_base.html' %} {% extends 'registration/register_base.html' %}
{% block reg_content %} {% block reg_content %}
<form action="" method="POST"> <form action="" method="POST">
{{ form.as_p }} {{ form.as_p }}