...

View Full Version : input box problem in ie



kyllle
12-14-2009, 03:51 PM
Hi all,

I am in the middle of creating a contact form and I have noticed a problem in ie. I have replaced the input box borders with my own background. My problem is when you enter lots of info into the contact form in ie the background scrolls away instead of staying in place like in firefox?

the page is hosted here http://www.kylehouston.com/testing/inputBox/form1.html

How can i set this background to remain static?

Thanks in advance!

Kyle

Rowsdower!
12-14-2009, 03:58 PM
Hi all,

I am in the middle of creating a contact form and I have noticed a problem in ie. I have replaced the input box borders with my own background. My problem is when you enter lots of info into the contact form in ie the background scrolls away instead of staying in place like in firefox?

the page is hosted here http://www.kylehouston.com/testing/inputBox/form1.html

How can i set this background to remain static?

Thanks in advance!

Kyle

See if this helps:

.input_field{
margin: 0 5px;
width:250px;
height:21px;
padding: 3px 3px 0 3px;
border:0;
background:url(images/input_bg.gif) fixed top left no-repeat;
}

kyllle
12-14-2009, 04:20 PM
Hey,

Tried that there but its not working, thanks!

vineet
12-14-2009, 04:30 PM
you need to keep the input box on seperate layer/div and background image on separate layer and give z-index higher on input box and z-index lower on bg image.

vineet

abduraooft
12-14-2009, 04:33 PM
Its' a known issue, so you are not alone here, see http://www.google.co.in/search?q=input+background+scrolls+IE :)
(The idea is to put an extra element and apply background on that and place it behind the input element)

adtaxsub
12-15-2009, 03:12 AM
Here is, in my opinion, the most interesting part:
CSS Code:

//If first time key in date run statement
if(first == 0){
++first;//Track if is the first record key in
items[i] = new Item(itemNumber, itemDesc, sellPrice, quantity);
}
//Else continue key in record
else{
entries = items[0].getEntries();//Get number of entries entered
for(j=0; j<entries; ++j){

duplicate = items[j].equals(itemNumber, itemDesc, sellPrice, quantity);//Check for duplication of entries

if(duplicate == true) {
Print.duplicateError();
--i;
--looping;
break;
}
}
if(duplicate == false)//else save record
items[entries] = new Item(itemNumber, itemDesc, sellPrice, quantity);
}
__________________________
Courtier conseil financement immobilier achat | (http://**************************/)Demande credit simulation plan de financement immobilier | (http://**************************/)Calcul pret projet financement immobilier travaux (http://**************************/)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum