2007'den beri21 mesaj
Sitemizde böyle bir kod var.
HTML Kodu:
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Bunun yerine şu şekilde bir css sprite ayarlanmış kod yazınca herşey güzel çalışıyor.
HTML Kodu:
<div class="sprites" id="sprite-smiley"></div>
Peki kod input içinde olunca bunu nasıl yapacağım
HTML Kodu:
<input class="button" height="24" width="24" type="image" src="<?php bloginfo('template_url'); ?>/images/giris.png" name="submit" value="<?php _e('Login'); ?> »" title="Oturum Aç" />

HTML Kodu:
<img src="smiley.gif" alt="Smiley face" height="42" width="42">
Bunun yerine şu şekilde bir css sprite ayarlanmış kod yazınca herşey güzel çalışıyor.
HTML Kodu:
<div class="sprites" id="sprite-smiley"></div>
Peki kod input içinde olunca bunu nasıl yapacağım
HTML Kodu:
<input class="button" height="24" width="24" type="image" src="<?php bloginfo('template_url'); ?>/images/giris.png" name="submit" value="<?php _e('Login'); ?> »" title="Oturum Aç" />
