• Resolved Jerry

    (@gerard749)


    When content on a page has a hyphen (Mon-Tue) and reaches the end of a line, in IE, Chrome and Safari the hyphen breaks and Tue drops to the next line. In firefox the hyphen does not break and Mon-Tue drops to the next line.

    I uninstalled and reinstalled firefox and that did not make a difference.

    In Css I tried numerous ways of trying to get the hyphen to break – word wrap, overflow wrap, word break … In one test using the word some-thing I tried word break normal and the hyphen didn’t break, and then when I put word break break word in css it broke like this:
    some-thin
    g

    Also, in content when I add spaces between words the white spaces do not collasp. It’s what I want, but I don’t know why its happening.

    Any help would be appreciated.

    Jerry

    Jerry

Viewing 1 replies (of 1 total)
  • Thread Starter Jerry

    (@gerard749)

    Hi,

    firefox will break a hyphened word by default at the end of a line, but will not leave 4 or less characters on the previous line. It will instead drop the hyphened word to the next line.

    Jerry

Viewing 1 replies (of 1 total)
  • The topic ‘hyphens’ is closed to new replies.