Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Paragraph in floated div leaving huge margin to the right…

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #208143
    JamesHeald
    Participant

    I’m trying to make a div which is sized on width based on the width of the paragraph inside it.

    I have tried this, but whenever I do it I’m left with a huge gap toward the right of the paragraph. The only way I can remedy this is to unfloat everything which isnt ideal as theres situations where I need some things within this div floated.

    http://plnkr.co/edit/VRdsJZsiQcjlRRYdsQsK?p=preview

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.