Article View: pl.comp.www
Article #396186Re: clearfix:after a IE ?
From: porneL
Date: Sat, 28 Feb 2009 14:43
Date: Sat, 28 Feb 2009 14:43
26 lines
1616 bytes
1616 bytes
On Sat, 28 Feb 2009 12:09:36 -0000, hazet <hazet@no-mail.pl> wrote:
> ale teraz zauważyłem, że ten hack dodaje jakiś odstęp w FF od dolnej
> krawędzi rodzica.
Nie powinno, chyba że coś innego w okolicy ma swój margines (który przez clear przestał się zapadać).
> Aha i display: inline-block; też jest potrzebne
Dla IE5 mac? Inaczej to tylko może zepsuć:
http://www.w3.org/TR/CSS21/visuren.html#flow-control
> clear
> Applies to: *block-level elements*
http://www.w3.org/TR/CSS21/visuren.html#propdef-display
> inline-block
> This value causes an element to generate a block box, which itself is *flowed as a single inline box*
--
http://pornel.net
this.author = new Geek("porneL");
Technical Details
Message-ID:
<op.up2gjdffutk0y1@aimac.local>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> <gob4uu$sg8$1@inews.gazeta.pl> <gob9i0$kns$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: porneL <niusy4@pornel.net> Newsgroups: pl.comp.www Subject: Re: clearfix:after a IE ? Date: Sat, 28 Feb 2009 14:43:51 -0000 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 27 Message-ID: <op.up2gjdffutk0y1@aimac.local> References: <go8brr$bs0$1@inews.gazeta.pl> <op.up02yij1utk0y1@aimac.local> <gob060$7t1$1@inews.gazeta.pl> <gob4uu$sg8$1@inews.gazeta.pl> <gob9i0$kns$1@inews.gazeta.pl> NNTP-Posting-Host: cpc1-acto1-2-0-cust35.4-2.cable.virginmedia.com Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1235832232 17975 82.28.217.36 (28 Feb 2009 14:43:52 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Sat, 28 Feb 2009 14:43:52 +0000 (UTC) X-User: pornelspam User-Agent: Opera Mail/10.00 (MacIntel) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit