Support » Themes and Templates » Wrapping a h2 tag around an image

  • Hi I am trying to get my h2 tag to sit next to my image. I am using the twenty ten child theme and have set the h2 tag with a class of floatRight like so:

    #content h2.floatRight {
    display:inline;
    padding:0;
    margin:0;}

    I set the padding and margin to 0 as the h2 tag had some padding on it. I have tried the important tag and putting the class in a span inside the h2 and am still not getting rid of the padding on the h2 although I did get it to wrap around the image which is something I guess.

    Appreciate any help. Site is http://www.broomeandthekimberley.com.au/2012/01/gig-guide/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrapping a h2 tag around an image’ is closed to new replies.