View Single Post
Old 07-11-2022, 12:10 PM   #1
JeannieCooper
Junior Member
JeannieCooper began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2022
Device: none
Hello and help needed!

Hello all,
I am not entirely new to this thread, but want to introduce myself. I'm Jeannie Cooper and I fumble along with HTML and CSS creating ePubs for a small publisher that typically publishes print books.

I am currently struggling with placing an image that I would like to float left inside a paragraph. I have tried using a DIV class and an IMG class in my CSS but the text will not wrap. I have done this before and it worked, so I wonder if something has changed (it has been about six months since I last worked on an ePub).

Here is the last CSS I tried:
img.floatleft {
float:left;
margin:0 10 5 10;
width=47%
}

And the placement in the chapter:
<img class="floatleft" alt="CH8-Demetria-Bannister-ADJ" src="../Images/CH8-Demetria-Bannister-ADJ.jpg"/>
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2022-07-11 at 12.05.32 PM.png
Views:	89
Size:	564.0 KB
ID:	194915  
JeannieCooper is offline   Reply With Quote