Jump to content
  • 0

Button и safari


Mr.Black
 Share

Question

5 answers to this question

Recommended Posts

  • 0

А у Хрома точно не появляется?

Вспоминаю, что пару-тройку лет назад боролся с подобным. Для Gecko помог -moz-focus-inner, а для вебкитовых не нашлось ничего лучше, как задать отдельный отступ через хаки. Но, действительно, хорошо бы увидеть код, фактический результат и искомый — вдруг проблема совсем в другом?

  • Like 1
Link to comment
Share on other sites

  • 0

Chrome - http://s2.itrash.ru/idb/7c91eb548e6ca22e25dde21312210155/oBezymyannyj.png

Safari - http://s2.itrash.ru/idb/7c91eb548e6ca22e25dde21312210155/oBezymyannyj_1.png

<button type="submit" name="submit" class="fbutton"><span>Добавить</span></button>

/* Button */
.fbutton { background: url('../images/fbutton.png') 100% -24px no-repeat; border: 0; width: auto; height: 24px; padding: 0 9px 0 0; overflow: visible; }
.fbutton:hover { background-position: right bottom; }
.fbutton span { background: url('../images/fbutton.png') repeat-x; display: block; line-height: 24px; padding: 0 15px 0 24px; color: #3a3a3a; text-transform: uppercase; }
.fbutton:hover span{ background-position: 0 -48px; }

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy