Jump to content
Sign in to follow this  

Paragraphs not floating next to image

Recommended Posts


I'm using the Transparency child theme and on a staff page, I'm using the following code:

.staff-photo {

border: 1px solid #ccc; float:left; width: 139px; height: 210px; padding: 3px; margin-right: 15px;

I then call that class with this html:

<div class="staff-photo"><img src="/wp-includes/images/staff/FAsghar.jpg" /></div>

  <p><strong>Fatima Asghar<br />

Well, it's not working. It works on the main site, but not my dev site.

See here: http://dev.leportschools.com/huntington-harbor/staff/

And live site: http://www.leportschools.com/huntington-harbor/staff/

Any ideas? I really need to figure this one out.

Share this post

Link to post
Share on other sites

Your URL is short. In the dev site, if the URL isn't connecting to that image, it will fail to show.

Try using the full URL and see if that works. It likely is working on the main site because that can find the image with that shortened URL.

Former PageLines Moderator, Food Expert and Raconteur

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