一些不标准的东西,不过还是有点用处_CSS/HTML

WBOY
Release: 2016-05-16 12:12:06
Original
1132 people have browsed it

这些小TIPS,在CSS手册或者HTML手册里是看不到的,不记得是在那里看到的,不过我一直用着。虽然标准校验通不过,如果不追求标准校验的话,还是可以用用的,因为在IE和Firefox里能显示的很好。

1。是不是经常会遇到小图片和文字一行排列不齐的尴尬?
img的align属性有一个这样的,align="absmiddle",可以试试,不过要是校验的时候,会提示错误。
2。字体
写一行中英文混在一起的内容,然后分别用font-family:宋体,font-family:Arial,font-family:"ms shell dlg"定义,看看效果。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!