Advertisement

06.20.2008 at 01:46AM PDT, ID: 23501534
[x]
Attachment Details

Wordpress theme:Images don't align properly in post: clear:both caused the galleries to collapse...

Asked by rhandalthor in WordPress, Cascading Style Sheets (CSS), Hypertext Markup Language (HTML)

Tags: css, html and php, Firefox 2.0, http://www.onboardcouriers.eu/verhoijsen, wordpress

I am developing a Wordpress theme (Wordpress 2.5.1). I am adding the content from the former website at the moment. When I add an image to a post the image continues into the next post which makes things confusing and ugly. When you look at the news sections on the index you will understand what I mean. Images need to be aligned or float right but stay next to their post. They should not continue into the next post. How do I make that happen. When I align or float the image right it just ends in the next post. Just adding more text to make the post longer is not an option as you can understand.
I did add div.entry div { clear: both }, (advice from NexusNation) but then the entire entry doesn't float anymore, including NextGen galleries that I have added here and there.  I need to clear my float, before the end of the div that contains the whole post. Any idea how I can do that? Maybe add another divider + the css Nexus gave me?


What you need to do is clear your float, before the end of the div that contains the whole post.

This should do the trick:

div.entry div { clear: both }Start Free Trial
[+][-]06.20.2008 at 03:27AM PDT, ID: 21829667

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 03:37AM PDT, ID: 21829703

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 03:38AM PDT, ID: 21829708

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 03:40AM PDT, ID: 21829716

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: WordPress, Cascading Style Sheets (CSS), Hypertext Markup Language (HTML)
Tags: css, html and php, Firefox 2.0, http://www.onboardcouriers.eu/verhoijsen, wordpress
Sign Up Now!
Solution Provided By: nexusnation
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.20.2008 at 03:54AM PDT, ID: 21829781

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 03:57AM PDT, ID: 21829794

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 04:12AM PDT, ID: 21829890

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 04:16AM PDT, ID: 21829921

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 04:37AM PDT, ID: 21830065

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 05:35AM PDT, ID: 21830554

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 05:56AM PDT, ID: 21830699

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 05:58AM PDT, ID: 21830708

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.20.2008 at 06:15AM PDT, ID: 21830845

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 09:17PM PDT, ID: 21836309

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.20.2008 at 10:23PM PDT, ID: 21836444

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208