Talk:ACF css: Difference between revisions

From Alpine Linux
No edit summary
No edit summary
Line 13: Line 13:
I'm wondering if we could use something else, either divs (with classes)  
I'm wondering if we could use something else, either divs (with classes)  


  <div class=label>foo</div><div class=item><input type......></div>
&lt;div class=label>foo&lt;/div>&lt;div class=item>&lt;input type......>&lt;/div>


http://www.alistapart.com/stories/practicalcss/
http://www.alistapart.com/stories/practicalcss/

Revision as of 19:47, 11 January 2008

Regarding DL, DD, DT:

My understanding is you are trying to do this:

 dt    |   dd   
foo    |  [                    ]
bar    |  [                    ]

where the dt is on the "left" column, and the dd is on the "right" column. Unfortunately, A DL can only contain DD and DT tags, not other divs or elements. that might be limiting, where we would want something like ajax or even just a complex formset or other item on the "right hand" of the block


I'm wondering if we could use something else, either divs (with classes)

<div class=label>foo</div><div class=item><input type......></div>

http://www.alistapart.com/stories/practicalcss/

has some examples of doing this with forms, to make the elements line up correctly.

What do you think?