Jump to content
Sign in to follow this  
jguidroz

table images not aligning

Recommended Posts

jguidroz

Im using a table to set up one of my pages. The plan is to have images on the left with descriptions on the right. The problem is the image will not align next to the text. Its always on top. Any ideas http://www.extendedearlyout.com/services

Share this post


Link to post
Share on other sites
kastelic

Have you considered using CSS instead? Just put each image in a div and give it a class, say "icon-image" or something. Then just type the content in regular heading and paragraph tags. Then all you have to do is add this CSS to your Custom Code-> Custom CSS box:

.icon-image{
	float:left;
	height:180px;
	}

The height should be adjusted to prevent the text from wrapping over to the left below the image. Let me know if this makes any sense to you.

Share this post


Link to post
Share on other sites
jguidroz

I'm a little green when it comes to css. I added the custom CSS code to the template. Now do I update the image its self or the page the image is on? I tried to open up the image and then add icon-image to the css style but that didn't fix it.

Share this post


Link to post
Share on other sites
catrina
I added the custom CSS code to the template.

Add the custom code to the custom CSS area instead of the file so that it can carry over when you upgrade the theme.

Now do I update the image its self or the page the image is on?
Update the page the images are on after you give the images a DIV class as shown in this example (based on what Jimmy said above): `IMAGEURL` (You'll need to be in HTML mode in the editor, of course)

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
catrina

This is occurring because the image's height is small enough to let that last line of text fall underneath it. If you decrease the space between the box text content and the box title, the problem should disappear. Add this CSS code to your custom CSS area or the base.css file:

h2 {margin-bottom: -5px;}


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×