Solved

Text does not wrap around the image

Posted on 2016-08-16
5
53 Views
Last Modified: 2016-08-16
I have created the following page:

http://www.sonoma.edu/exed/pmcp/test-agile-project-management-certificate-course.html

It is looking the way I want, except that the text in the second paragraph does not appear where I want it to. It is appearing on the line below the image creating a big space. I would like it to appear to the left of the image, i.e., wrapping around it, instead of below it. What should I do to get it to appear correctly?

Thanks.
0
Comment
Question by:geeta_m9
[X]
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
  • 2
  • 2
5 Comments
 
LVL 57

Accepted Solution

by:
Julian Hansen earned 500 total points
ID: 41758269
Your image is in a floated div - take it out of there and place it at the start of your <p> - then remove the div that contained it.

You should end up with something like this
 <h1>Agile Project Management Certificate</h1>
<p><img height="165" style="float: right; margin: 0 0 20px 20px;" src="images/agile.jpg" alt="agile.jpg" />
In the fast-paced business world of the 21st century, some opportunities may be missed with carefully pre-planned traditional project management practices. Rapid development and deployment of both physical and intellectual products requires a more aggressive approach, a more flexible approach, a more agile approach.</p>
<!-- REMOVED
<div style="float: right; width: 240px" class="right">
<img height="165" style="float: right; margin: 0 0 20px 20px;" src="images/agile.jpg" alt="agile.jpg">
</div> -->

Open in new window

0
 
LVL 2

Expert Comment

by:Martin Andrews
ID: 41758270
Remove the float rights from your image and put a width and float left on your paragraph tag
0
 

Author Comment

by:geeta_m9
ID: 41758291
Hi Julian,

Your recommendation worked great. Here is what the page looks like now:

http://www.sonoma.edu/exed/pmcp/test-agile-project-management-certificate-course.html

I also commented out the <div style="clear: both";></div> on line 63, to get rid of the  blank lines after the second paragraph and before the "Quick Links" box on the right.
0
 

Author Closing Comment

by:geeta_m9
ID: 41758318
Thank you.
0
 
LVL 57

Expert Comment

by:Julian Hansen
ID: 41758487
You are welcome.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

705 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