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

  • Home
  • SEARCH
  • 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 8611139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T04:17:53+00:00 2026-06-12T04:17:53+00:00

What is the minimum allowed negative value for the text-indent property? I was using

  • 0

What is the minimum allowed negative value for the text-indent property?

I was using a bizarrely huge value in my site (something like text-indent: -99999999px), and it stopped working with the last Google Chrome update. IE still works fine, but I may need to remove a couple of 9’s from there to make it work with Chrome again.

Disclaimer: yes, this value is a bit too paranoid, I used it for fun and copmletely forgot about it until the text popped out on the screen today. But the usually suggested text-indent: -9999px might easily fail at some point in (not so) distant future?

  • 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-12T04:17:55+00:00Added an answer on June 12, 2026 at 4:17 am

    A safe value is probably -32768px, however this is not part of spec but rather an observation of a (possibly outdated) implementation-specific legacy restriction.

    Before CSS property values can be applied to elements at render-time, those declarations have to be parsed into something more operable and abstract than, effectively, a string. I mean, you can type almost anything as a property value:

    .a {text-indent: -999px;}
    .b {text-indent: -99999999px;}
    .c {text-indent: medium potato;}
    

    The first example would, fingers crossed, get parsed correctly; the last one is invalid and would be ignored (since a medium potato is not currently part of w3c CSS spec); but the middle one would be quirky should it overflow (not “fit” in memory as allocated by the browser). I’ve put together a fiddle and these are the text-indent values at which the browsers “choked” and defaulted to zero:

    #On OSX 10.8 Lion 64bit:
    Safari 6       -2^31
    Chrome 22      -2^26  #your original -99999999px would have failed here
    Firefox 14     -2^70
    Opera 12       -2^70
    
    #On Win Server 2008 64bit:
    Firefox 13     -2^70
    Chrome 21      -2^70
    IE 9           -2^70
    

    This got me curious, I’ll run more tests on another box tomorrow. Results above updated, nothing too excited. You can also run your own test using this fiddle – the first item that remains visible would show the value applied that got ignored. I’m assuming the values would vary depending on the browser/OS used as well as possibly hardware.

    I remember first seeing a practical reference of such a limitation in an article on styling faux columns^ that suggested a conservative constraint to be that of a 16-bit signed integer (from -32768 to +32767) – which would apply to not only text indents but other length values. I’m not aware of how consistent this value is across different browsers and their versions, nor how applicable it would be to fractions or values expressed in different units.

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

Sidebar

Related Questions

I would like to set a minimum and maximum allowed number to be entered
What's the second minimum value that a decimal can represent? That is the value
How to set the minimum scale to a specific cell value, where in the
I have a sequence with an allowed minimum length of zero in my xsd.
Possible Duplicate: Chrome: timeouts/interval suspended in background tabs? Is there a minimum allowed delay
I have password constraints that i would like to validate: minimum length = 6
I was wondering which is the minimum and the maximum date allowed for a
I'm using a jQuery slider with a fixed minimum of 20, as described in
How to add Minimum Qty Allowed in Shopping Cart for a category. In Magento
What are the maximum and minimum values, in pixels, for the CSS background-position property?

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.