SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru etidd's Avatar
    Join Date
    May 2011
    Location
    atlanta, ga
    Posts
    632
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Question Separate h2's from paragraph text

    Hi everyone,

    I have finished the header styling at the atl review group health page, but on the h2 elements the paragraph text underneath is wrapping around the graphics because of the use of float:left on the h2 element. Can someone please advise me a way to get the text to not wrap around this graphic and just align all that text by itself? I hope I have made my question clear.

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    You can apply clear:left; to your .subsectiontext to clear the float.
    Maleika E. A. | Rockatee | Twitter | Dribbble



  3. #3
    SitePoint Guru etidd's Avatar
    Join Date
    May 2011
    Location
    atlanta, ga
    Posts
    632
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •