>
> automatically sized to fit the width of the widest item in that column,
> and with the right column starting at the right boundary of the left
> column.
>
I don't know of any good CSS only way (not using javascript) to
automatically size the columns; however, if you know the max width, you can
set that as the default.
Generally, all you need to do is wrap the label and the input inside a
containing div for each row. The label will be set to float left and display
block.
Google up "Table-less Forms" for more detailed info.
-----
--
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-tp3168519p3171649.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论