While developing web sites, I’m constantly discovering new styling quandaries. It is very inefficient to catalogue my solutions solely in the project I designed them for. In an effort to increase my efficiency and share what I have learned, I’m going to host my styling solutions on my blog.
Position two DIVs side by side without using the float attribute:
Size parent div to largest paragraph and stack children paragraphs:
Here is a screenshot of the result.
For a complete working example, please visit my fiddle:
W3Schools provides excellent tutorials on a variety of technologies.