Connecting Tech Pros Worldwide Forums | Help | Site Map

background-image is shown in firefox and internet explorer diffrently

Member
 
Join Date: Jan 2009
Posts: 52
#1: Oct 18 '09
hi
i'd like to set background-image of submit button to a picture with gif extension
i set style="background-color:url(images/back.gif)" in input tag
with this work this button in firefox is shown correctly
but in internet explorer incorrect later set value attribute to " " so that this button is shown correctly in ie browser with this work button is shown in ie correctly but in firefox is shown repeated
what do i so that background-image is shown correctly in all browser?
note:i dont like have lable for button
another question is : i have a layer is website desgin that consist of flash element i'd like set that place under another layer i set z-index attribute less than another layer but is show on.
thank alot

drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,574
#2: Oct 18 '09

re: background-image is shown in firefox and internet explorer diffrently


Quote:

Originally Posted by oranoos3000 View Post

i set style="background-color:url(images/back.gif)"

Did you type that correctly? It should be 'background-image'.
Reply