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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:37:17+00:00 2026-06-10T20:37:17+00:00

I have got a headline ( <h1> ) with a long text. Since the

  • 0

I have got a headline (<h1>) with a long text. Since the text does not fit into one line, the browser breaks the line. However, the height of the headline does not scale, i.e., a headline without a linebreak has the same height than one with a linebreak. I am using a background image which should always be behind all the text of the headline. But since the height does not scale, the headline with the implicit linebreak looks awkward: The background is only behind the first line, the second line has no background at all. Why doesn’t the headline scale and how can I make it scale?

  • 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-10T20:37:19+00:00Added an answer on June 10, 2026 at 8:37 pm

    By default the background scale here is a simple example

    <html>
    <style>
        h1 { width: 5em; background-color: #EFA; }
    </style>
    <body>
    <h1>A very long title which cannot enter into only one line!</h1>
    </body>
    </html>
    

    Now, to help you:

    • you might didn’t set the h1 {background-repeat: y-repeat;} correctly in the CSS.
      Or
    • you might had forced the h1 height: h1 { height: 20px; } which is wrong if you want to be able to manage different height.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have got a form into which information is entered, and a drop down
I have got my HTML5 project a bit further along - I have one
I have got a text field, and then I type some text onto it.
I have got this error message: #2002 - The server is not responding (or
I have got some problem implementing bullet physics into my opengl game. The thing
I have got the following pulled from an array. [TheBeautifulSouth/2-15 One Last Love Song.m4a]
I have got the following problem since the server has safe mode turned on,
I have got this statement: $query=INSERT INTO error_report(task_id,url_is_route, forbidden_word, google_host_fail, google_cache_fail, google_title_fail, google_element_fail, robots_noindex_nofollow,
Have got an NSString *str = @12345.6789 and want to find out if there
I have got the requirement to find the core file in multiple box/machine and

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.