Article View: pl.comp.www
Article #396184Re: clearfix:after a IE ?
From: Paweł Piskorz
Date: Sat, 28 Feb 2009 10:51
Date: Sat, 28 Feb 2009 10:51
27 lines
1577 bytes
1577 bytes
hazet pisze:
> Czyli bez supportu dla IE 5.5 będzie wyglądać tak :
>
> .clearfix:after {
> content: ".";
Nie wiem czemu wszyscy się na tę biedną kropkę uwzięli, content:"";
działa równie dobrze, a i visibility się możesz wówczas pozbyć.
> display: block;
> height: 0;
> clear: both;
> visibility: hidden;
> }
>
> ?
>
> Z tym clearfix, masz na myśli aby dodać do rodzica tą klasę ? Ale żeby w
> IE6 działało, trza dodać jeszcze height: 100% .
Albo width:cokolwiek, albo zoom:1;
--
message[autor="PablO"]::after {
content:"Pozdrawiam";
}
Technical Details
Message-ID:
<gob4uu$sg8$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailReferences:
<go8brr$bs0$1@inews.gazeta.pl> <op.up02yij1utk0y1@aimac.local> <gob060$7t1$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Paweł Piskorz <nie.ma.maila@psikre.nie?> Newsgroups: pl.comp.www Subject: Re: clearfix:after a IE ? Date: Sat, 28 Feb 2009 11:51:13 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 27 Message-ID: <gob4uu$sg8$1@inews.gazeta.pl> References: <go8brr$bs0$1@inews.gazeta.pl> <op.up02yij1utk0y1@aimac.local> <gob060$7t1$1@inews.gazeta.pl> NNTP-Posting-Host: 93-181-190-1.as.kn.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1235818270 29192 93.181.190.1 (28 Feb 2009 10:51:10 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Sat, 28 Feb 2009 10:51:10 +0000 (UTC) X-User: uhorek In-Reply-To: <gob060$7t1$1@inews.gazeta.pl> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666 Hamster/2.1.0.11 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit