Correct way of controlling layout for specific elements?

skejcik

New Member
I am designing a particular form that will have a fieldset on the left that is a tall as the three fieldsets on the right. I created 3 jsfiddles with different approaches:Hacked with \[code\]<br>\[/code\]: http://jsfiddle.net/pdgreen/GjdRj/CSS Sibling Selector : http://jsfiddle.net/pdgreen/GjdRj/1/IDs: http://jsfiddle.net/pdgreen/GjdRj/3/The \[code\]<br>\[/code\] solution is to act as a strawman. It isn't to be taken seriously. I like the CSS sibling selector solution because it doesn't need anything special in the HTML, but it very quickly gets out of control in terms of complexity. Is using IDs the correct way? I guess it is the most straight forward, but it just doesn't feel right. Is there a better way?
 
Back
Top