Alright so I'm trying to decipher an "Accordion Content script".
Basically it's a list of offices and when you click an office it expands to give a short paragraph detailing the responsabilities
=====
- President
- Vice-President
- Secretary
=====
=====
- President
+ Vice President
The Vice-President is tasked with taking over the role of President should the
President become unable to perform his duties
- Secretary
=====
My current goal is to add an image of the person for each office. Right now I'm using a 100x100 placeholder image and with some floating help, I've been able to get the pictures to show up on the left. The paragraph wraps nicely to the right.
The problem is that the 'paragraphs' are very short. The next title is often showing up to the right of the image.
It looks some thing like this:
=====
- President
xxxxxxx The role of the President is to guide us
xxxxxxx and make sure we do nothing wrong
xxxxxxx
xxxxxxx - Vice President
- Secretary
=====
Here's the CSS for the image
.headshot { /* head shots of office holder */
float: left;
width: 100px;
margin: 0 10px 10px 0;
background-color: #d4d2d2;
padding: 5px;
clear:both}
I was hoping the clear would push the next office title below it but all that does is prevent the images from doing a little step like shift to the right.
Here's a sample from the html
Hospitality/newcomers:
John Doe
We put much emphasis on the comfort and warmth that members and visitors feel when coming into the House. Their mandate is to welcome you, serve you and forward any of your questions or concerns.
Ushers board
John Doe
This ministry is imperative to order. Their goal is to keep order within the sanctuary.
In addition to that I'm having problem changing the class name. 'technology' and 'thelanguage' don't really explain anything and get lose in the sea of CSS selectors.