Re: CSS issue with div fieldWithErrors

Marnen Laibow-Koser
Thu, 01 Oct 2009 14:16:46 -0000

Fernando Perez wrote:
>> If that''s ruining your design, then your CSS has problems.

> Nope.

Yup.

> It is extremely common, to see forms created with tags to
> separate each input. A div inside a tag is not allowed by html
> standards, look for the internet, plenty people have this
problem.

Then tags are not the right thing to use here. Replace them with
s. Problem solved.

>
> But you are right with tables, they can greatly simplify css and avoid
> headaches, I already use tables for some of my layouts because they are
> 100% cross browser compatible.

Not always.  And I''m certainly not advocating table-based layouts in
general -- only when the semantics are actually tabular.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org