But under the IE6, the position:fixed attribute is not supported, and we need to handle the IE6 hack. The solution is to use the Postion:absolute attribute, its role is very familiar, relative to the parent element for absolute positioning, and then
In IE we simply use the CSS property of Text-overflow to implement the text overflow ellipsis.
Cases
The code is as follows
Copy Code
. entry_title{White-space:nowrap;Overflow:hidden;Text-overflow:ellipsis;}
Previously do flash JS ads the same page can only be called once, this article provides the JS CSS tutorial picture switching effect can be called multiple times, and can be used normally.
js CSS Picture Switching effects (multiple calls to the
By default, background properties are tiled, and if the background picture is larger and box is small, you can only display the background in the upper-left corner. If you want the background to be all displayed,
The code is as follows
CSS pseudo element is very powerful, it is often used to create CSS triangle hint, use CSS pseudo element can achieve some simple effect but do not need to add extra HTML tag. One thing is that JavaScript cannot get these CSS property values, but
Tip: you can modify some code before running When the child element is wider than the parent element width, [view it in a standard browser]I am floating left now (float: left), and my width is smaller than that of the sub-box, but it won't open me,
Tip: you can modify some code before running Multiple introductions: overflow: hidden; can realize automatic text hiding, but I can't get it all, it's all about automatic text wrapping.This is a test text. not recommended ~ · How long is the text ?~
Tip: you can modify some code before running Shadow Link text produced by CSS Website homepage Website homepage Website homepage Website homepage Website homepage Tip: you can modify some code before running
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service