0

For illustration purposes I will make this simple. I have the following p tag

<p>Test Store - (Test Location)</p>

Now when I make the width of the browser smaller it starts to wrap the text so the text comes something like this

Test Store 
 - 

(Test Location)

This is not what I want, I want to avoid wrapping the text and treat the whole thing as one block, so when the browser width becomes small I want it to move the whole text down instead of just part of the text.

j08691
  • 204,283
  • 31
  • 260
  • 272
tmp dev
  • 8,043
  • 16
  • 53
  • 108

1 Answers1

1

Use the Css p{white-space:nowrap;}

Sagar V
  • 12,158
  • 7
  • 41
  • 68