Home >Web Front-end >CSS Tutorial >Some non-standard stuff, but still useful_CSS/HTML

Some non-standard stuff, but still useful_CSS/HTML

WBOY
WBOYOriginal
2016-05-16 12:12:061202browse

These little TIPS cannot be seen in the CSS manual or HTML manual. I don’t remember where I saw them, but I use them all the time. Although the standard verification fails, if you don't pursue standard verification, you can still use it because it can be displayed very well in IE and Firefox.

1. Do you often encounter the embarrassment that small pictures and text are not aligned in one line?
The align attribute of img has this, align="absmiddle", you can try it, but if it is verified, an error will be prompted.
2. Font
Write a line of mixed Chinese and English content, and then define it with font-family: Song Dynasty, font-family: Arial, font-family: "ms shell dlg" to see the effect.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn