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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:34:38+00:00 2026-05-24T03:34:38+00:00

Please take a look at this image: On the top left, notice how HelloWorld

  • 0

Please take a look at this image:

On the top left, notice how HelloWorld does not have a space between them, while Foo Bar does. The right side shows the mark up; there is no space after Foo or before Bar; just a carriage return and a few tabs. The bottom left shows what the DOM is (per Firebug).

Question: what is there a space between Foo and Bar?

NOTE: here it is on JSFiddle, but it seems to have converted the tabs into spaces: http://jsfiddle.net/sM6rk/

Original mark up (again, tabs turned into spaces):

<html>
    <head>
    </head>
    <body>
        <p>Hello<em>World</em></p>
        <p>Foo
            <em>Bar</em>
        </p>
    </body>
</html>
  • 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-24T03:34:38+00:00Added an answer on May 24, 2026 at 3:34 am

    The CSS spec explains the presentation of the white-space processing model, specifically:

    1. [..snip..]
    2. [..snip..]
    3. If ‘white-space’ is set to ‘normal’ or ‘nowrap’, linefeed characters are transformed for rendering purpose into one of the following characters: a space character, a zero width space character (U+200B), or no character (i.e., not rendered), according to UA-specific algorithms based on the content script.
    4. If ‘white-space’ is set to ‘normal’, ‘nowrap’, or ‘pre-line’,
      every tab (U+0009) is converted to a space (U+0020)
      any space (U+0020) following another space (U+0020) — even a space before the inline, if that space also has ‘white-space’ set to ‘normal’, ‘nowrap’ or ‘pre-line’ — is removed.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please take a look at this image: alt text http://a.imageshack.us/img21/6190/64635037.png I have a MDI
Please take a look at this site as a reference: http://www.philsalesses.com/place-pulse/ On the left
Hi please take a look at this code: // if the image url doesn't
I want a layout like this. Please take a look the image As you
please take a look at the blue menu bar at the top of http://www.animefushigi.com
Please take a look at this navigation: http://beta.viewcms.info/mint/ And you can see the hover
hi, i am not sharing code. the problem is in this code please take
This is yet another of my Java questions. Please take a look at this
Please take a look at this: https://i.stack.imgur.com/9UOhU.jpg The problem: The grid is drawn perfectly
Please take a look on this code: <!DOCTYPE html> <html lang=es> <head runat=server> <title>Main

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.