Home › Forums › CSS › [solved] div doesn’t expand to fit contents › Re: [solved] div doesn’t expand to fit contents
What are the styles for "container_12" and "grid_12"?
One of my biggest gripes with the 960 grid is that people that don’t necessarily know what they’re doing don’t change the names. "Container_12" is absolutely meaningless, the names should be "main-content", "side-bar", "header", "footer", "twitter-feed", etc etc.
The 960 idea is great, and that’s what I use as a max width for all of my sites, but I think downloading the frame work is a waste of time…
I will end my tangent there.
It sounds like you have something floated that you haven’t cleared. Try adding <div style="clear:both"></div> after the content and see if that helps.
Also, if you could provide a working link, you would get immediate help/results!