Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
If you remove the align="left" then it works fine. My best guess is that you put those in because you didn't want the image in the text flow, affecting the vertical positioning on the text. The ea...
Answer
#3: Post edited
If you *remove* the `align="left"`, it works fine.My best guess is that you put those in because you didn't want the image in the text flow, affecting the vertical positioning on the text.The easiest solution to that is to float them: add `float: left;` to the CSS for `img`, and- ```css
- hr {
- clear: both;
- }
- ```
- to make the horizontal rules move past the floated content.
- If you *remove* the `align="left"` then it works fine.
- My best guess is that you put those in because you didn't want the image in the text flow, affecting the vertical positioning on the text. The easiest solution to that is to float them: add `float: left;` to the CSS for `img`, and
- ```css
- hr {
- clear: both;
- }
- ```
- to make the horizontal rules move past the floated content.
#2: Post edited
If you *remove* the `align="left"` then it works fine.My best guess is that you put those in because you didn't want the image in the text flow, affecting the vertical positioning on the text. The easiest solution to that is to float them: add `float: left;` to the CSS for `img`, andhr {clear: both;}- to make the horizontal rules move past the floated content.
- If you *remove* the `align="left"`, it works fine.
- My best guess is that you put those in because you didn't want the image in the text flow, affecting the vertical positioning on the text.
- The easiest solution to that is to float them: add `float: left;` to the CSS for `img`, and
- ```css
- hr {
- clear: both;
- }
- ```
- to make the horizontal rules move past the floated content.
#1: Initial revision
If you *remove* the `align="left"` then it works fine. My best guess is that you put those in because you didn't want the image in the text flow, affecting the vertical positioning on the text. The easiest solution to that is to float them: add `float: left;` to the CSS for `img`, and hr { clear: both; } to make the horizontal rules move past the floated content.