• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
UT Shield
College of Fine Arts Web instruction
  • Welcome
  • About Us
    • WordPress & Drupal
    • Websites & Content Owners
  • Getting Started
    • Learn Best Practices for Web
    • Vocabulary Terms
    • Do you need a website?
    • Ways to Get a Website
      • Website Options On Campus
      • Initiate a Project with the Web Team
      • Outsource or DIY
    • Know Your Audience
    • Navigation & Menu Items
  • Requirements
    • Americans with Disabilities Legal Obligations
      • Alternate Text
      • Use of Color & Contrast
      • Link Text & Appearance
        • Non-Visible Link Context
      • PDF Files
      • Software Plug-in Link
      • Captions, Audio Description & Transcripts
        • webVTT Caption File
        • Caption Using Amara
        • Writing Captions & Audio Description
        • Video & Remote Communications
      • Additional ADA Issues
        • Accessible Social Media
        • Video & Remote Communications
    • UT Web Accessibility Policy
    • UT Web Privacy Policy
    • Records Retention – Backups, Archives and Revisions
    • College of Fine Arts Brand
    • UT Brand Guidelines
    • Information Security Office Policies
  • Best Practices
    • College of Fine Arts Communications Written Style Guide
    • Using a Rich Text Editor
      • Using an External HTML Editor
    • Links & URLs
      • Link Text & Appearance
        • Non-Visible Link Context
      • Absolute vs. Relative Paths
      • HTTP vs HTTPS
      • Anchor Links
      • Changing URLs
      • Shorten a URL for Marketing
    • Images
      • JPG vs PNG
      • Image Editing and Troubleshooting
    • Web Forms & Surveys
      • Create a Link to Pre-Filter a Web Form Page
    • Standards & Structure
      • Hierarchical Headers
      • Computer File Names
      • URL address names
        • UT Short Links Service
      • HTML
        • Common HTML Errors
        • Multiple Rows with Floated Images
        • Responsive Word Wrapping
    • Artificial Intelligence
    • Test & Evaluate
    • Wikipedia
    • Social Media & Networking
      • Accessible Social Media
    • RSS & Feeds
    • UT Austin Web Publishing Guidelines
  • Site Performance
    • Page Load Time
      • Fonts
    • Respond to a Variety of Devices
      • Telephone Numbers on Smart Phones
    • Analytics & Visitor Data
      • Outreach Campaign Link Tracking
        • Campaign URL Builder
        • Campaign Link Tracking Worksheet
    • Page Not Found Traffic
    • Tips to Increase Traffic
    • Optimize for AI Chat and Search
  • Site Specific Instructions
    • Instructions for COFA sites on University Blog Services WordPress
    • Instructions for COFA Drupal Kit sites
    • Instructions for COFA sites on UT Drupal Kit Managed

Responsive Word Wrapping

Last Updated May 2025

Since the website is responsive, columns that contain content on your website will shrink and re-size as it’s viewed on different screen sizes,  sometimes there are issues with where lines and words break. Long words can be particularly troublesome in columns that shrink to become too narrow.

On this page:

  • Example
  • Browser Default
  • Content Management Systems (CMS)
  • Options for Content Creators
    • Word Break Fixes
      • Soft Hyphen
      • Word Break Opportunity or Zero Width Space Entity
    • Lines Break Fixes
      • Non Breaking Space,  
  • Learn More

Example

A frequent culprit for long words is email addresses, especially when they are added to a sidebar column. It used to be common for them to overflow the content area, like so:

Email address overflowing sidebar

In modern browsers we usually see each character wrapping to the next line as the area gets smaller, like so:

email wrapping each character in sidebar

Unfortunately, it will sometimes break at confusing parts of the word or email address.

Browser Default

Most recent versions of popular web browsers will break words with a soft hyphen to prevent overflow. The browser will automatically break words at appropriate hyphenation points, following whatever rules it chooses.  In some cases you may not be happy with how or where the lines and words break. Each browser handles it slightly differently so the issue you see may not exist for all visitors.

Content Management Systems (CMS)

The Drupal or WordPress CMS your website is built with, may also have ways to manage these issues. The College of Fine Arts Web team’s Drupal websites have some unique features you may wish to try.

Options for Content Creators

Managing line and word breaks is a balance between control of content column widths, font sizes and in some cases encouraging the browsers to wrap lines of text and break words differently.

Below are some options you can experiment with to try to fix related issues but they may not be available for all content. For example, they cannot be added in Plain Text fields in most content management systems. If you do try any of them, be sure to review your content on numerous device sizes.

In cases where none of the below options work, we may need to change the design.  Contact the web team if issues cannot be resolved with the below options or are prominent throughout the site.

Word Break Fixes

In some interfaces, you can suggest to the browser where you’d like it to break a word and if you want a hyphen or not. You will have to edit the HTML source code.

Soft Hyphen, ­

If you do not like where the browser is choosing to break a long word, add the Unicode encoding for the soft hyphen: ­

Hopefully, you won’t have any articles about pneumonoultramicroscopicsilicovolcanoconiosis but if you do you will probably want to edit the source code, like so:

pneumonou­ltramicro­scopicsil­icovolcano­coniosis

Word Break Opportunity, <wbr> Tag or Zero Width Space Entity, &ZeroWidthSpace;

You can use either the tag <wbr> or the zero width space entity to indicate where the word boundaries are, without actually displaying a visible space in the rendered text,
In the email example, it’s important not to add the tag or entity to the email link, only add it to the text displayed on the screen, like so:

<a href=”mailto:infoandadmissions@austin.utexas.edu”>
info<wbr>and<wbr>admissions@<wbr>austin.<wbr>utexas.<wbr>edu</a>

Lines Break Fixes

If lines of text are not breaking as expected, it could be because of a non-breaking space Unicode in the Source code. Alternately, adding a non-breaking space code string may help you to force the line not to break in some browsers.

Non Breaking Space, &nbsp;

Similar to the &shy; Unicode encoding above, &nbsp; is a code string that creates what appears to be a blank space but is treated as an alpha-numeric character. The browser treats the space as part of a word instead of a blank space. Usually, the encoding is added in content by accident from copy/paste and it is best to remove them from the source code.

However, there are a few instances when it may be helpful to add, especially if you’re trying to get two areas to respond similarly, such as in a table header. This is a pretty rare use case but you can try adding the code between words to suggest that the browser not break the line.

Learn More

Article gets into the code options for Handling Long Words and URLs (Forcing Breaks, Hyphenation, Ellipsis, etc). Specifics and more examples of the <wbr> tag on the Mozilla developer site. Also see https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens.

Primary Sidebar

Open Office / Co-Working Sessions

Second Monday of the month:
11 a.m. – 12:30 p.m.

Fourth Thursday of the month:
2 p.m. – 3:30 p.m.

Email us for the Zoom link.

College of Fine Arts WordPress Instruction
College of Fine Arts Drupal Instruction
Subscribe to our email list to receive periodic tips and resources for generating great digital content

Contact Us

The COFA Web team can be reached by emailing us at cofawebmaster@austin.utexas.edu


To view some links on this page you may need to download Acrobat Reader.

UT Home | Emergency Information | Site Policies | Web Accessibility | Web Privacy | Adobe Reader

© The University of Texas at Austin 2025