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>
--
--
You received this because you are subscribed to the "Design the Web with CSS" at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscribe@googlegroups.com
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.