Article View: pl.comp.www
Article #396152<div class="clear"/> ??
From: hazet
Date: Mon, 23 Feb 2009 16:13
Date: Mon, 23 Feb 2009 16:13
14 lines
1272 bytes
1272 bytes
Witam, zauważyłem że niektórzy webmasterzy stosują ten pusty blok do
poszerzania zawartości zawierającej elementy z float.
<div class="clear"/>
.clear {
clear: both;
}
Czy to jest ok ?
W sumie w pewnych sytuacjach, może to byc jedyne wyjście (stopka musi
być poza blokiem rodzica z elementami float oraz do elementów tych nie
można dodać clear), ale co z pustym blokiem ? W ogóle można zastosować
div bez zamknięcia jak wyżej? (</div>)
Technical Details
Message-ID:
<gnuhvv$mvq$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: hazet <hazet@no-mail.pl> Newsgroups: pl.comp.www Subject: <div class="clear"/> ?? Date: Mon, 23 Feb 2009 17:13:11 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 14 Message-ID: <gnuhvv$mvq$1@inews.gazeta.pl> NNTP-Posting-Host: static-ip-77-89-75-190.promax.media.pl Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1235405631 23546 77.89.75.190 (23 Feb 2009 16:13:51 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Mon, 23 Feb 2009 16:13:51 +0000 (UTC) X-User: hazet12 X-Antivirus: avast! (VPS 090223-0, 2009-02-23), Outbound message X-Antivirus-Status: Clean User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit