Reply to Re: css nested divs style

Your name:

Reply:


Posted by julian_m on 03/08/06 20:49

Jim Moe wrote:
> julian_m wrote:

> > It was not a code fragment, it was the *complete* code. Anyway, you can
> > see what i'm talking about here:
> >
> No, it was not. The </head> without <head> was just the first error.

ahhh, yes, ok.

> Correct your code:
> - Add a DTD (doctype, preferably HTML 4.01 Strict) and charset spec.

Done

> - Change widht -> width in the CSS.

What a silly mistake !!!

> - Add a width:xx% to each column. The default width for a block element is
> 100%.

Ok


> - Add float:left to each column. The columns will not float unless you
> tell them to do so.

But, if I have two divs inside another, and float one of them to left,
should the 2nd one float to left as well?

I mean
<div>
<div>50% width float to left</div>
<div>This one should "automatically" stay on the right, or not?</div>
</div>

Well, actually, thanks your advice, the page renders better than
before, but now I dont know ...
why the childs divs (#izq and #der) don't fit inside the parent div
(#ppal) ?

thanks in advance - jm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация