Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 346253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T11:09:35+00:00 2026-05-12T11:09:35+00:00

If someone enters a very long title/sentence, the text will stretch across the web

  • 0

If someone enters a very long title/sentence, the text will stretch across the web page.

Is there a way to break the text so it continues on to the next line?

Using overflow hidden will hide the text.

I think I should be using the wbr tag.

Should I use the insert(); method for this?

i.e.

string myText = "111111111111111111111111111111111111111111111111111111111111111111111111";

myText = myText.Insert(80, "<wbr/>");

Not sure how cross browser the wbr tag is also!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T11:09:35+00:00Added an answer on May 12, 2026 at 11:09 am

    Strictly speaking, you should use the zero width space (&#8203;) for this rather than <wbr>. However, Internet Explorer 6 and earlier are known not to support this (they show an ugly box). So <wbr> is probably the safest choice. Except… Internet Explorer 8 in standards mode is known not to support <wbr>, so you’ve got yourself a wonderful conundrum here.

    You can read more at quirksmode.org.

    Do note HBoss’ comment in that it’s hard to predict where to break, unless you’re using a fixed width font like Courier. You should probably heed his advice and break more often than just every 80 characters. (And don’t get me started on combining characters.)

    As far as ASP.NET is concerned, you can indeed use the Insert method for this, but beware when you need to insert more than one: you” need to do some book keeping (and a StringBuilder would also be advised).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a very simple function that feeds whatever text someone enters
I am creating a landing page for a client where someone enters info, and
This could be a very basic question, but hopefully someone will be able to
Is there any way I could, using only Javascript and HTML, have a page
I'm looking to have it so that if someone enters information in a form,
Consider the URL www.something.com/HereWeGo. When someone enters the url, the site shows a 404
I have a gridview control in my c# program. Basically someone enters an email
I am trying to write a program that will prompt you to enter someone's
Here's the scenario. I have a search page with a TextBox that allows someone
I would be very grateful if someone could explain if it is possible to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.