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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:40:10+00:00 2026-06-05T18:40:10+00:00

Textarea background image scrolling when entering more text in ie8, i have used sprite

  • 0

Textarea background image scrolling when entering more text in ie8, i have used sprite concept in css so when entered text more its showing another image as background

textarea{
  border:0 none; 
  background:url(../images/sprite.png) no-repeat -272px -63px; 
  max-height:80px; 
  max-width:191px; 
  overflow-y: auto;
}
  • 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-05T18:40:12+00:00Added an answer on June 5, 2026 at 6:40 pm

    Since Microsoft “corrected” the background attachment issues with IE7 and now is no way of having an overflow of text in a input or textarea element and not having the background scroll with the text, and if you try “background-attachment: fixed;” the background doesn’t even display. Because is no really css hack what fix the problem, you need to think out of css. Instead to style just the textarea element, make a supplementary div like container for textarea and apply the background image to the div, instead to textarea. Let the textarea without border and background to make a proper overlay. so i am using code like this

    .textarea_div{background:url(../images/sprite.png) no-repeat -272px -63px;}
    textarea{border:0 none; 
    max-height:80px; 
    min-height:80px; 
    max-width:191px; 
    min-width:191px;}
    

    HTML

    <div class="textarea"><textarea></textarea></div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a textarea, which stretches (makes height bigger) smoothly: <style type=text/css> textarea {
$('textarea').focus(function() { var img = $(this).css('background-image'); $(this).css('background-image', 'none'); }); $('textarea').blur(function() { $(this).css('background-image', img); });
// Clearing Textarea $('textarea').focus(function() { var $this = $(this); $.data(this, 'img', $this.css('background-image')); $this.css('background-image', 'none');
Please see this jsFiddle: https://jsfiddle.net/Wmq6f/ I have a textarea that has a background image,
<textarea id=text rows=5 cols=25></textarea> <span id=fade>fade</span> $(#fade).click(function () { $(#text).fadeIn(31000, function () { $(#text).css('background-color',
Hello guys i have set background image on my input text and text area
I have the CSS setting: .missing textarea {background-color: #fffcc !important;} And the html looks
I have a textarea on a form that is populated with text from a
I have a textarea within an iframe. I want to select the textarea text
How can I change my textarea background image when I select a value from

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.