SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2012
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    make a div with text wrap under another div

    hello

    can some one help and explain me how can i make a block of text wrap under the counter in my coming soon page ?
    (not all just the lines passing the counter height).

    site url: wpdevplus.com

    thanks

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,789
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    This would be simple if you weren't using a grid

    All you need do is float the counter to the right first in the html and then the non floated text that follows will automatically wrap underneath as long as you haven't given the text container a width. At present you have two floated elements with width that will never wrap no matter what you do.


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
  •