2011年1月1日星期六

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

Wil Moore III wrote:
>
>
> 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.
>


Forgive my ignorance on this, but I don't know how to make CSS do the same
thing a table would do--specifically, to have two columns that are
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've been doing some searching on this and haven't been able to find a way
to do this. Could you send me to an explanation or briefly explain how you
would accomplish this? I'm always looking to improve my CSS knowledge.

-Josh
--
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-tp3168519p3170143.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: