« Attending UIE's Web App Summit this week | Main

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83451fb6769e2012875646878970c

Listed below are links to weblogs that reference Announcing QuickUI: a fast and powerful way to create web UI controls:

Comments

Richard Birkby

The primary way to encapsulate a control is using a new block formatting context. But you don't seem to do that. So how do you localize any floats to within the control?

Jan Miksovsky

Richard: QuickUI controls ultimately manifest themselves as divs that can be styled however you want. The section on "More on styling" in the tutorial (http://quickui.org/tutorial/section11/default.html) shows how to style the top level control element, i.e., the control's topmost div. So you can apply your clear, float, overflow, position, etc., there, and be able to achieve any result you're looking for.

I hadn't considered trying to set something like display: block on all controls. I've tried to make the smallest number of assumptions to start, and only add things that seem really necessary and near-universal. (I've occasionally had controls whose topmost div has, for example, display: table or inline). If you wanted to really isolate controls through some universal styling, you could define a rule on the .Control class (which is applied to all QuickUI controls). If people generally found that helpful, that behavior could get folded into QuickUI. Please let me know what you think.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment