13 jun 2012 17.17 John L.:

Rather than hard-code a width to fit, which CSS attribute(s) can I use to "trim" the width of the form?

A classic is to put percentage margins on the outmost element of the section. like

.dataEntryForm {margin-left:25%;, margin-right:25%;}

The same value will center the element which may not have a specific width.

--
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscr...@googlegroups.com

Reply via email to