Ready to get started?Download WordPress


Wrapping a h2 tag around an image (3 posts)

  1. wotnow
    Posted 3 years ago #

    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 {

    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/

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try using Firefox with the Firebug add-on for this kind of CSS work.

  3. wotnow
    Posted 3 years ago #

    Hi I have firebug but I still dont get it

Topic Closed

This topic has been closed to new replies.

About this Topic