Geek magazine hacker daily blog

8 years, 9 months ago
As it is known absmiddle is a value of the align parameter which is maintained by all browsers, however are not supported by the HTML 4.x/XHTML 1.0 specification.

Parameter was actually rather useful and convenient.

In principle, it is easy to replace through background of constructions ul-li, but faced with

There is a menu item to which it is necessary to add an icon.
It seems there are no problems, but on the website there are about 10 options of a design of color gamma, and distinction in them in the menu only a background:
варианты оформления

The problem is solved easily with the help of .png, but by default of course .png does not understand IE.

If I inserted just the picture before the link and aligned by means of absmiddle, then it should me vsegolit to register a class at the picture and to specify the corresponding .htc-file in a class

For other cases used the changed article of samiznayeteky.

But for this case absmiddle could not find the standing (responsible) replacement yet.

In a code of a habr I also saw this value.

To so forget it or it is worth suffering?

This article is a translation of the original post at geektimes.ru/post/28608/
If you have any questions regarding the material covered in the article above, please, contact the original author of the post.
If you have any complaints about this article or you want this article to be deleted, please, drop an email here: sysmagazine.com@gmail.com.

We believe that the knowledge, which is available at the most popular Russian IT blog geektimes.ru, should be accessed by everyone, even though it is poorly translated.
Shared knowledge makes the world better.
Best wishes.