2

I have this piece of code but I am unable to wrap word.

<div class="added-link">
    <input type="submit" style="color: #000000;" class="addedlink"  id="abc" value="User Survey Confidentiality Statement" name="linbutton">
</div>
codingrose
  • 15,563
  • 11
  • 39
  • 58

1 Answers1

4

Assign some fixed width to your <input type="submit" /> and use white-space: normal; OR you can just use a new line (cheap way) in your source HTML

value="User Survey
 Confidentiality Statement"

Demo

Demo 2

<input type="submit" class="addedlink" value="User Survey Confidentiality Statement" name="linbutton">

.addedlink {
   color: #000000; 
   white-space: normal; 
   width: 150px;
}
Mr. Alien
  • 153,751
  • 34
  • 298
  • 278