2010年10月27日星期三

Re: [fw-mvc] Forms and HTML

Hello Thomas,


> Thanks for your advice, although I'm sure that my presentation is separate from my "structure". Anyway, I figured it out, and it works very well now, thank you. Again, thank you for your help.

Even if you're sure, it's not. Take a look at this:

> > > $this->addElement('select','types', array(
> > > 'label' => '<span>font: 14pt Frutiger LT Std;color:#00B3FF;><b>What type of home do you live in:</b></span><br/>',

What do you see there? Markup that's neither semantic nor valid.

Recommended read: Zeldman, J., Designing with Web Standards, New Riders.


Best regards,

Andreas

没有评论: