13 Replies Latest reply on Apr 17, 2018 4:02 AM by B i r n o u

    Force span to upper-right corner of h5 element

    WolfShade Level 4

      Hello, all,

       

      How does one force a span to occupy the upper-right corner of a containing div, and force text inside the div to wrap around it?

       

      I'm developing a blog for internal use, and I'm using a + to indicate to the user that clicking on the div will expand the title to include the full text of the post.  I'd like for it to stay in the upper-right corner.  If the title is way long (like 100+ characters), I want the + to stay in the corner and the text to line feed before it reaches the +.  How is this accomplished?


      V/r,

       

      ^ _ ^

       

      CORRECTION:  The span is contained within an H5 element, not a div as I originally reported.