Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [CSS]Problem z wilkoscią
upeertv
post
Post #1





Grupa: Zarejestrowani
Postów: 111
Pomógł: 0
Dołączył: 5.01.2013

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


witam mam taki problem, napisalem taki kod
  1. <a href="#" class="xbutton"> Odpowiedz </a>



ma on na celu po najechaniu myszka zminic tylko kolor obvramowania, i wszystko dziala jednak, nie dziala tak jakby 'font-size' przed najechaniem na button, poniewaz, niby jest przed i po najechaniu 11 px jednak przed najechaniem tekst jest wiekszy jaki moze byc powod tego

  1. .xbutton {
  2. border-radius: 5px;
  3. font-weight:bold;
  4. text-transform: capitalize;
  5. border: 1px solid #C0C0C0;
  6. background: transparent url(img/bg_button.png) repeat-x;
  7. color: #333;
  8. font-size:8px;
  9. font-family: Helvetica;
  10. padding: 3px 10px;
  11. height: 35px;
  12. }
  13.  
  14. .xbutton:hover {
  15. border-radius: 5px;
  16. font-weight:bold;
  17. border: 1px solid #454545;
  18. background: transparent url(img/bg_button.png) repeat-x;
  19. color: #333;
  20. font-size:11px;
  21. font-family: Helvetica;
  22. padding: 3px 10px;
  23. height: 35px;
  24. }
Go to the top of the page
+Quote Post
Arcioch
post
Post #2





Grupa: Zarejestrowani
Postów: 324
Pomógł: 110
Dołączył: 18.09.2012

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


Wypiłem wprawdzie kilka piwek grając z kumplami w fife ale dla mnie font-size:8px; nie jest równe font-size:11px; (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post
upeertv
post
Post #3





Grupa: Zarejestrowani
Postów: 111
Pomógł: 0
Dołączył: 5.01.2013

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


to bylo juz z poprawkami, ale wlasnie chodzi o to ze przed najechaniem jest wiekszy, nawet gdybym dal tam wielkosc tekstu 1px to i tak przed najechaniem tekst byl by wikeszy niz 11px

Ten post edytował upeertv 9.05.2013, 22:41:19
Go to the top of the page
+Quote Post
Arcioch
post
Post #4





Grupa: Zarejestrowani
Postów: 324
Pomógł: 110
Dołączył: 18.09.2012

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


Możesz pokazać gdzieś to online ? (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 26.08.2025 - 14:20