Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Text does not wrap around the image

Posted on 2016-08-16
5
Medium Priority
?
57 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 59

Accepted Solution

by:
Julian Hansen earned 2000 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 59

Expert Comment

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

Featured Post

Technology Partners: 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

Find out what you should include to make the best professional email signature for your organization.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

618 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