Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Align post excerpt with post image.

Posted on 2011-03-18
1
402 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

809 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