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
Release: 2016-05-16 12:12:06
Original
1191 people have browsed it

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.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template