Sunday 15 September 2013

css - How to place Text and an Image next to each other in HTML? -


I want to place the text and the image next to each other but I want the image to be on the screen on the left and I I want to move the text right on the right side of the screen. I currently have it ....

  & lt; Body & gt; & Lt; Img src = "website_art.png" height = "75" width = "235" /> & Lt; H3 & gt; & Lt; Font face = "wordana" & gt; The Art of Gaming & lt; / Font & gt; & Lt; / H3 & gt; & Lt; / Body & gt;   

How can I do this?

Thanks

  img {float: left; } H3 {float: true; }   

Note that you might want to use style : whatever After the code provided by you, it does not slide directly under the contained elements.

No comments:

Post a Comment