2010年12月31日星期五

[fw-mvc] Re: Left-Right form layout--what is the easiest way to do this?

jbeall wrote:
>
> The simplest way to do this in HTML is with a table with two columns.
>
Hi Josh,

Actually, it is even easier if you simply use CSS to move things around.
I've found that I rarely need to play with decorators when I have CSS on my
side. There are some situations where you'll need to add/remove decorators
but this isn't one of them.

Here are your options:

1 - CSS
2 - Custom Decorators
3 - View Script Decorator (where you will render the form decorators
individually -- you can google for this)

http://framework.zend.com/manual/en/zend.form.standardDecorators.html#zend.form.standardDecorators.viewScript

-----
--
Wil Moore III

Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html

DO NOT TOP-POST and DO trim your replies:
http://linux.sgms-centre.com/misc/netiquette.php#toppost
--
View this message in context: http://zend-framework-community.634137.n4.nabble.com/Left-Right-form-layout-what-is-the-easiest-way-to-do-this-tp3168519p3169933.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: