Nick 0

I have an h2 tag here:

<h2>INCREASE YOUR ONLINE PRESENCE WITH CUSTOMIZED E-COMMERCE</h2>

In firefox its ok, but in ie and chrome E-COMMERCE is split into 2 words when the html is rendered. How can I fix this?

  • As a side note, you should not use all caps in your html content as some screen readers will read is as I N C R E A S E... Instead use normal case in your HTML and use css text-transform such as: h2 { text-transform: uppercase; } Andy Ford almost 6 years ago

2 answers

twayney 20
0
points

Just add this to your CSS:

white-space:nowrap;

Answered almost 6 years ago by twayney
Nick 0
-1
points

<nobr> tag fixes this

Answered almost 6 years ago by Nick
  • <nobr> is very obsolete. No one should use it anymore. twayney almost 6 years ago