Home > Web Front-end > HTML Tutorial > li floats and wraps. It gave me a headache and I couldn't get it right after working on it all day! Please help! _html/css_WEB-ITnose

li floats and wraps. It gave me a headache and I couldn't get it right after working on it all day! Please help! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:10:51
Original
986 people have browsed it





No matter what happens, I have to switch between IE6 and 7. FF is fine and no problem, but IE is not working! !


Reply to discussion (solution)

Can’t your code send text?

Add a
No Line break?

Write span2 in front of the text

Try setting the width

Or: put span2 in front of a.
Either: add float:left;

or: put span2 in front of a.
Either: add float:left to a;
If a is also floating, there will be no element to support the height of the container

Quote from 5th Floor’s reply:

Or: put span2 in a front.
Or: add float:left;

If a is also floating, there will be no elements to support the height of the container

Then add display:block to a;

Put span in front of a and it will be ok!

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