I’m working on a theme and the divs are giving me all sorts of trouble.
My main issue is after the content area. I’ve done a clear:both; after the content/sidebar area so my footer would have a space in between.
This is my CSS: http://wordpress.pastebin.ca/1075592
If I add clear:both; to #info or .column, the div takes on the same color as my main content area (which you can see here: http://infragilis.net/test). Which is not what I want. If I don’t add clear:both;, however, my div doesn’t expand to fit the content. Putting a fixed height on #info isn’t a solution because my quotes database has some exceptionally long quotes in it and I don’t want them cut off/don’t want an ugly scrollbar in the middle of the page.
I don’t know what I’m missing.
- The topic ‘Issue with displaying div’ is closed to new replies.