Quote:
Originally Posted by Turtle91
And welcome to MR!!
|
Thank you...
Quote:
Originally Posted by Turtle91
<div class="image"><img src="…" alt=""/></div>
.image {width=50%; float:left}
img {width:100%; max-width: 1000px *or whatever the width of your image*}
|
From what I've read elsewhere, shouldn't it be
.image {width=50%; height=auto; float:left}
and if not, then why not (just asking to learn).
And is it the
img {width:100%; max-width: 1000px *or whatever the width of your image*} part that makes the 50% be 50% of the page width and not the image width?
Also, where do I put the "Text, text" part - inside or outside the <div>? And should the <div> be embedded in a <p> or does the <div> replace the <p> ?