Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][CSS]Button z obrazkowym tłem
trifek
post
Post #1





Grupa: Zarejestrowani
Postów: 340
Pomógł: 0
Dołączył: 28.09.2015

Ostrzeżenie: (0%)
-----


Witam.
Mam taki kod:

  1.  
  2. .subbmitCommentBtn {
  3. background: url("../images/ikon2.png") no-repeat center top;
  4. padding-right: 15px;
  5. padding-left: 15px;
  6. color: white;
  7. cursor: pointer;
  8. height: 56px;
  9. width: 253px;
  10. background-color: #AF191F;
  11. background-position: left;
  12. background-repeat: no-repeat;
  13. font-weight: bold;
  14. border-radius: 20px;
  15. border: none;
  16. }
  17.  
  18. <input type="submit" value="Dodaj komentarz" class=" subbmitCommentBtn">


Mam problem z tłem. Obrazek nachodzi mi za bardzo na lewą stronę. Chciałbym go odsunąć o 10px od lewej krawędzi buttona.
https://ibb.co/3kf6VNm


Wie ktoś może jak to zrobić?


Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 00:07