473,322 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Background image on the text box is moving along with data in IExplorer

Hi all,
Actually my requirement is to place an image in the text box and it should stand over the data in the text box.

And i made it as

------------------------------------------------------------------------------------------
Expand|Select|Wrap|Line Numbers
  1. <html>
  2.     <head>
  3.     <style>
  4.         .formlabel
  5.         {
  6.         border:0px;
  7.         height:18px;
  8.         width:100%;
  9.         background-color:white;
  10.         font-size:12px;
  11.         }
  12.  
  13.         .dropdn
  14.         {
  15.         background:transparent url(image.gif) no-repeat scroll 100% 40%;
  16.         padding-right:15px;
  17.         }
  18.  
  19.  
  20.     </style>
  21.     </head>
  22.     <body>
  23.         <input  class="formlabel image"  value="None"    name="patienttitle" />
  24.     </body>
  25. </html>
------------------------------------------------------------------------------------------

This is working fine in firefox and not in Explorer.
In explorer the background image is moving along with the data typed
and in firefox the image is always fixed at the end of the text box.

How to stop the image move in IExplorer.

Thanks in advance.......
Oct 1 '08 #1
3 2841
David Laakso
397 Expert 256MB
Considering that the markup is invalid, just about anything could be a probable cause. Validate and post a clickable link to the page in question.
Oct 1 '08 #2
Here is the link
http://www.geocities.com/rameshv1210/test_combo.html

and the image on the text field is fixed at the end correctly in firefox

and it is in Explorer image is moving along with data in the text field.

please help me in solving this.

Thanks in advance
Oct 1 '08 #3
David Laakso
397 Expert 256MB
Sorry. Same story as yesterday. Add a doctype and correct the other remaining 25 markup errors. If the IE browsers still do not handle it correctly on a valid file, bring it back.
Oct 1 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: seajays | last post by:
OK, I've managed to get just about everything working in CSS and XHTML, but there is one last peice of the jigsaw. http://www.seajays.org.uk/2know_dev/ At the moment on the site, I have a gray...
11
by: Konrad Den Ende | last post by:
I have a function returning a string but the problem is that the color of it is blue which suits me well for some pages but not for others. Is it possible to "feel" what the color of the background...
3
by: Greg Heilers | last post by:
Hello everyone... If one has a <div> that is completely filled with a background-image; how does one style it so that the image *continues* to fill the <div> top-to-bottom, left-to-right; if...
3
by: Viken Karaguesian | last post by:
Hello all, I need somehelp with background tiling. I have a sneaking suspicion that what I want to do is not possible, but I'll ask anyway. :>) First some background: Here's the site in...
10
by: Karl-Inge Reknes | last post by:
Hi, Can anyone tell me how to change a table cells background color or background image in runtime with C#. Karl-Inge
14
by: arteccentrix | last post by:
Please bear with me as I am new to both Firefox and CSS. I have browsed through a number of groups looking for similar problems to my own but can't find a definitive answer. If anyone here can help...
5
by: Steve JORDI | last post by:
Just a question using images as submit buttons and PHP4.4.4. It seems that my code correctly works in FireFox but not in IExplorer. For example, I have a FORM with 2 buttons called "search" and...
8
by: =?Utf-8?B?R3JlZyBMYXJzZW4=?= | last post by:
I'm trying to figure out how to modify a panel (panel1) from a backgroundworker thread. But can't get the panel to show the new controls added by the backgroundwork task. Here is my code. In...
6
by: David Stone | last post by:
I have a simple question about the alt content of area elements within an image map: is it redundant to include phrases such as "link to..." or "jump to..."? My initial thought is 'yes', since...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.