Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Text wrapping issue with INTERNET EXPLORER 8x

Posted on 2012-03-15
Medium Priority
Last Modified: 2012-04-08
I have a website that displays flawlessly on the various Thunderbird, Chrome & Safari browsers but good old IE8 has some word wrapping issues.

I'll post a link to the page for you to see. The problematic browser is version 8.0.6x, and possibly others.

Can someone please assist with a fix for this problem.
Question by:TonyCabone
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2

Author Comment

ID: 37727578
Here's the problem page:

Notice the word wrapping on some of the red headings.
LVL 30

Expert Comment

ID: 37729727
Try adding: word-wrap: break-word; to the h2
LVL 50

Expert Comment

ID: 37730867
TonyCabone--A Quick glance looks fine on IE9 although I do get the Compatibility View icon in the task bar which usually meant the coding is not quite what IE standards want.

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


Author Comment

ID: 37735667
OK the break word stops the overlap but breaks the word 'INFRASTRUCTURE' into 2.

What CSS is needed to stop this from happening?
LVL 50

Expert Comment

ID: 37735779

Author Comment

ID: 37735951
OK thanks however that doesn't really relate to the problem we're experiencing.

I did however note that W3C says 'Property word-wrap doesn't exist : break-word'

Surely there is a way to make a simple heading display correctly?

I've added an IE Warning to the web page, but this is less than ideal.
LVL 30

Accepted Solution

LZ1 earned 1560 total points
ID: 37737337
I'm seeing a span injected in IE only. In FF, Chrome and Safari there isn't an additional span. The weird thing is, this is only happening in the developer tools.  

I'm not sure why this is happening, but you may want to look at some of your JS to debug.

With that being said, try adding display:block to the span. Since span is not a block-level element it will run on as it needs. Setting the display:block to the span will help it behave.

Try this:
.rt-article-bg h2.title span{display:block;}

Open in new window


Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question