Archive for the ‘Tweaks’ Category

Fix Firefox Button Padding

As we all know by now, consistently styling form elements with CSS is virtually impossible. However, with a few tweaks and after reading Firefox’s user-agent CSS file forms.css, I discovered the following: button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner { border:1px dotted transparent; padding:0 2px; } … Firefox uses pseudo-elements within the button elements themselves [...]

Smoothly scale images in IE (-ms-interpolation-mode: bicubic)

Today I discovered a much-improved method to fix IE7′s default image-resizing behaviour: as described in this Flickr post it is possible to tweak IE7 into applying the (much smoother) Bicubic interpolation method when scaling images. The result is depicted in this archived post here (which also happens to provide a solution for IE6, using the [...]

Powered by WordPress | Design by OVMS, based on AnimeStar (Best MMORPGs | Thanks to MMORPG List, VPS Hosting and Website Hosting)