Fernando
unread,May 23, 2012, 7:00:36 PM5/23/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Design the Web with CSS
Hello!,
I am fairly new to css and I have some problems,
attempt to design a data entry in 2 columns,
but does not work!
very grateful for any comment!
attached piece of code:
CSS FILE:
body {
font-family: Arial, Helvetica, sans-serif;
}
input{
border: 1px #888 solid;
}
#alta_cp {
width: 800px;
border: 1px #666666 solid;
background: #eeb;
padding: 15px;
}
p
{
margin:1em 0;
}
.left-column, right-column
{
float:left;
}
.left-column
{
margin-right:2em;
}
PHP CODE:
<div class="left-column">
<p>
<label>Cuenta Stock</label>
<input type="text" name="txtcuesto" id="txtcuesto" maxlength="25"
size="25" value="" />
<input type="hidden" name="idcuesto" id="idcuesto" value="0" />
</p>
</div>
<div class="right-column">
<p>
<label>Remitente</label>
<input type="text" name="txtcuerem" id="txtcuerem" maxlength="25"
size="25" value="" />
<input type="hidden" name="idcuerem" id="idcuerem" value="0" />
</p>
</div>
<div class="left-column">
<p>
<label>CP Sucursal</label>
<input name="txtsuccp" type="text" id="txtsuccp" maxlength="4"
size="07" value="" />
</p>
</div>
<div class="right-column">
<p>
<label>CP Numero</label>
<input name="txtnumcp" type="text" id="txtnumcp" maxlength="8"
size="10" value="" />
</p>
</div>