1 reply [Last post]
dergotic
dergotic's picture
Offline
newbie
Richmond
Last seen: 3 years 3 weeks ago
Richmond
Timezone: GMT-7
Joined: 2011-10-06
Posts: 1
Points: 2

Hi all,

first of all to introduce myself..
I'm Davor and I'm new around here.
Hope you guys can help me!

This is my problem:

#header #searchform #searchsubmit { background: url(img.gif) no-repeat 2px 2px}

This works perfectly in Google Chrome, but to work the same way in Firefox I have to put:

#header #searchform #searchsubmit { background: url(img.gif) no-repeat 1px 4px}

Can someone please help me?

Thanks in advance,
Davor

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 20 min 10 sec ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5125
Points: 2722

Hi Davor, Welcome to the CSS

Hi Davor,
Welcome to the CSS forum,
We really need a link to see what you are targeting.
It looks like it must be a form element, input of type submit.
Browsers have always had there own quirks with form elements.
You may have to adjust things like: padding, margin, line-height.