html - Place an image next to my title -


i have picture , picture title. i'm trying display text alongside image. current code

 <p class="title">     <img src="images/football.png" />     sports section </p>  .title {  float:left; } 

try removing float p tag, , place on image.

<p class="title">    <img class="my_image" src="images/football.png" />    sports section </p>   .my_image {    float:left; } 

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -