Re: [Design with CSS 3725] design problems with css

Thursday, May 24, 2012

you missed a 'dot' ( . ) before .right_column and you didn't set the
columns widths

2012/5/24 Fernando <ferdagu@gmail.com>:
> 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



--
BAZINGA Designs - strony internetowe
http://www.bazingadesigns.com

Igor Wnuk
Ul. PCK 5/20
24-100 Puławy

tel. +48 667 200 706
tel. +48 722 188 134

REGON: 060622686
NIP: 716-255-43-47

--
--
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.

Copyright © 2010 Web Design | Free Blogger Templates by Splashy Templates | Layout by Atomic Website Templates

Vida de bombeiro Recipes Informatica Humor Jokes Mensagens Curiosity Saude Video Games Animals Diario das Mensagens Eletronica Rei Jesus News Noticias da TV Artesanato Esportes Noticias Atuais Games Pets Career Religion Recreation Business Education Autos Academics Style Television Programming Motosport Humor News The Games Home Downs World News Internet Design Entertaimment Celebrities 1001 Games Doctor Pets Net Downs World Enter Jesus Mensagensr Android Rub Letras Dialogue cosmetics Genexus lasofia thebushrajr wingshock tripedes gorduravegetal dainfamia dejavu-transpersonal jsbenfica republicadasbadanas ruiherbon iranianforaryans eaystcheyl fotosdanadir Só Humor Curiosity Gifs Medical Female American Health Madeira Designer PPS Divertidas Estate Travel Estate Writing Computer Matilde Ocultos Matilde futebolcomnoticias girassol lettheworldturn topdigitalnet Bem amado enjohnny produceideas foodasticos cronicasdoimaginario downloadsdegraca compactandoletras newcuriosidades blogdoarmario arrozinhoii