CSS issue with multi-accordion

Posted by Josh on Stack Overflow See other posts from Stack Overflow or by Josh
Published on 2010-04-03T16:05:12Z Indexed on 2010/04/03 16:13 UTC
Read the original article Hit count: 183

Filed under:
|
|
|
|

Alright, I got some help earlier with this, but it never truly got resolved. I'm pretty sure I'm having a CSS issue, but I just can't figure out how to correct it. Currently, I have these accordions working perfectly, they collapse, expand, expand again when told to etc.

The problem I'm having is aligning the content within these accordion divs. Ideally, when everything is default (collapsed) all I want seen is the thumbnail image and the Headline. Then if the user wishes, they click on the headline and it expands and if they want to make a comment or view comments, they can click once again to expand that.

Here's the thing, I have to make the height 62px so everything will fit in and just not float all over the place. This creates a problem with the "View Comments" to "Text Here" area, as you can tell it has outrageous space between the two.

The other issue is, as I currently have it I'm forcefully indenting the article text so that it doesn't TEXT WRAP underneath the thumbnail image. Basically, I want it split into 2 columns so nothing ever goes beneath the image, but working with this accordion and divs inside the divs it's proving to be difficult for me.

I've put up a demo here: http://www.notedls.com/demo

© Stack Overflow or respective owner

Related posts about css

Related posts about float