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 8499845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:46:41+00:00 2026-06-11T00:46:41+00:00

At the begin, I doesn’t set the font-size , insert a long text in

  • 0

At the begin, I doesn’t set the font-size, insert a long text in div,like:

<div>Hello World Hello World Hello World Hello World Hello World Hello World</div>

if I narrow the browser,the overflow part would change to the next line;

but if I set the text font-size size to large size,like:

<div style="font-size:72px;">asdasdasasdasdasd</div>

I narrow the browser, the overflow part couldn’t change to the next line:

demo here

So why this happened? How can I fixed the problem? I want no matter how big size I set to the font-size, the layout would be liquid as normal

  • 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-06-11T00:46:42+00:00Added an answer on June 11, 2026 at 12:46 am

    As to your demo, you didn’t give the long string any space, so generally browsers would consider it as one “word” and prefer not to split it.

    To split your demo into several lines, add spaces: http://jsfiddle.net/dxXBQ/2/

    Of course I believe that’s not your real content. If your real content do have long words and you still want them to wrap, use word-wrap CSS style: http://jsfiddle.net/dxXBQ/4/

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

Sidebar

Related Questions

g++ doesn't like: vector<int> x; x += 1,2,3,4,5; vector<string> y(x.size()); transform(x.begin(), x.end(), y.begin(), lexical_cast<string>);
When I begin writing text in the textarea, I want the outer div, with
i tried to hide textblock's in QTextEdit, but it doesn't work: block = textedit.document().begin()
If I begin a transaction, and make multiple INSERT s in it (pre- COMMIT
Before I begin, I would like to state that I KNOW the Apple Guidelines
According to The Ruby Programming Language p.164. If a begin statement doesn't propagate an
I want to prepand http:// to every URL that doesn't begin with it, I
I want to decrypt the selected text if the string -----BEGIN PGP MESSAGE----- occurs
Can anyone tell me why this doesn't work? if ((select @@servername) = 'ServerA') begin
MS SQL Server doesn't have row level triggers, correct? If I needed to insert

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.