Why won't my text wrap around the image? |
Why won't my text wrap around the image? |
Websales |
May 5 2015, 11:27 AM
Post
#1
|
Group: Members Posts: 2 Joined: 5-May 15 Member No.: 22,560 |
Cannot figure out why the text won't wrap around the image. I have tried both Float Left as well as Align Left with no luck.
My Webpage Any help would be appreciated! |
pandy |
May 5 2015, 02:06 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,731 Joined: 9-August 06 Member No.: 6 |
Because you have given the text (.innertext) a left margin that extends the width of the image. I would ditch the width: 37% too, it will look odd when it wraps. You could use margin or padding to limit the width of the text block if you don't want it to run from side to side. You could use width too, but it needs to be wider than 37% not to look odd.
|
Frederiek |
May 5 2015, 03:06 PM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I'd put the image inside the .innertext div, give that div the same width and margin as .whitetailprices, but keep the float of the image.
Resize the image to the size in which it is displayed (322 x 194px, though in reality it's bigger than that) and give it a margin/padding (particularly right and bottom) so there will be some space for the text. Then you can get rid of the .innerpic div altogether. |
Websales |
May 5 2015, 05:00 PM
Post
#4
|
Group: Members Posts: 2 Joined: 5-May 15 Member No.: 22,560 |
THANKS SO MUCH!
|
Frederiek |
May 6 2015, 03:20 AM
Post
#5
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
You're welcome.
|
Lo-Fi Version | Time is now: 26th April 2024 - 04:06 PM |