dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: fixed width

  1. #1
    Join Date
    Oct 2004
    Location
    Hattiesburg, MS
    Posts
    22

    fixed width

    I'm trying to get my text to wrap inside a div, but having some problems doing it, what's the definitive way to keep everything inside a fixed div, inside the div?

  2. #2
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    By default text will always wrap in a div tag. Have you set a width for the div tag? If you haven't then it will expand to 100% of the available width and text will run all the way across it.

    If you have set a width, but you have a particularly long word that is longer than one entire line that will not wrap (at least it won't wrap in Moz, not sure about other browsers).
    Every fight is a food fight when you’re a cannibal.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles