When writing articles for my website, I find that it’s much nicer to have pictures that go with the text, to break it up. But I’ve always used tables, seeing as I’ve only recently learned CSS from this website.
The only way that I’ve managed to place an image on one side of the text with the text wrapping around it (rectangular image) is using absolute positioning and left-margins. I can’t get my image to align to the right either.
So could anyone please post a way to both align the picture on one side or another (with CSS) and by placing it within the text (without absolute positioning and text above, beneath and to one side).
If you have an image that you want shown to the left you would have:
Paragraph goes here
This would make the image to to the left side of whatever container you have it in (div) and the text would wrap around it.
Now once you progress in your knowledge of css you will come to avoiding putting inline styling in your code and you will use css for these things but search for info on “float” and you will find a ton of info out there for you to digest.