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

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -