Work around the Windows subpixel antialiasing craziness as a result of changesets 502114bb31e8 and c1d77dbe4193 by adding a padding to the div containing the text; rs=roc a=orange

This commit is contained in:
Ehsan Akhgari 2011-03-01 18:57:11 -08:00
Родитель 471f8b1411
Коммит 9f99601882
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -14,6 +14,6 @@ function move()
}
</script>
<body style="background: url('bwinton.jpg'); background-attachment: fixed" onload="move()">
<div id="moving" style="position: absolute; top: 50px; background-image: url('blacktrans.png'); width: 100px; height: 100px; -moz-transition: top 0.1s">blah blah blah</div>
<div id="moving" style="position: absolute; top: 50px; background-image: url('blacktrans.png'); width: 100px; height: 100px; -moz-transition: top 0.1s; padding: 2px;">blah blah blah</div>
</body>
</html>

Просмотреть файл

@ -1,6 +1,6 @@
<!doctype html>
<html>
<body style="background: url('bwinton.jpg'); background-attachment: fixed">
<div style="background: url('blacktrans.png'); width: 100px; height: 100px">blah blah blah</div>
<div style="background: url('blacktrans.png'); width: 100px; height: 100px; padding: 2px;">blah blah blah</div>
</body>
</html>