Home > Web Front-end > HTML Tutorial > Vertical lines for ie6 and 7 | Compatible_html/css_WEB-ITnose

Vertical lines for ie6 and 7 | Compatible_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:18:18
Original
1120 people have browsed it

This post was last edited by unifyyeteng on 2013-01-14 19:39:10

ie css

ie6 and 7 vertical bars | will automatically add a space, while 8 and Others won't. Later I changed the image to one pixel and set the width to 1px. Overflow:hidden still didn't work. IE6 and 7 still took up at least 5px. Please give me a solution. Please don't reply until the test is successful. Thank you!!!
See the picture, the small blue area I selected on the right is a space

Reply to the discussion (solution)

Are vertical bars and labels inline elements
For reference
N ways to remove spacing between inline-block elements
http://www.zhangxinxu.com/wordpress/2012/04/inline-block-space-remove-remove spacing/


In fact, it is not recommended to directly type vertical lines like "|" on the page. You can use border-left or border-right to do it

Thank you for providing reference materials. This article is very funny, because There is a background, but using border cannot achieve the desired effect.

Related labels:
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