Solved

Align post excerpt with post image.

Posted on 2011-03-18
1
395 Views
Last Modified: 2012-05-11
I am creating a blog for our website, and want to display the post excerpt with an image. I am using a plugin called Thumbnail For Excerpts which posts an image from the post, for the blog page.

I want to have my post text to be to the right of the image though, and cannot seem to do it. Could somebody have a look at my CSS and see where i am going wrong and how to fix this please.

mock-up of what i am wanting to do.

here is a link to my website, blog page.
my website
0
Comment
Question by:jonathan1978
1 Comment
 
LVL 21

Accepted Solution

by:
Julian Matz earned 500 total points
ID: 35169720
Hello!

Try adding this somewhere to your stylesheet:

img.alignleft
{
     float: left;
     margin: 0 10px 5px 0;
}

hr
{
     clear: both;
}

Open in new window



Hope that helps.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question