🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.javascript
Article #51991

Re: CSSowe box model i pytania

#51991
From: Roman Tyczka
Date: Tue, 05 Feb 2019 07:40
16 lines
1333 bytes
On Mon, 4 Feb 2019 20:21:00 +0100, Borys Pogoreło wrote:

>> i teraz mam kilka pytań: 
>> - border może mieć ustalony kolor (border-color), ale jaki kolor dostaje
>> padding i margin?
> 
> Żaden, to są odstępy

To logiczne, ale nie do końca wyjaśnione. Żaden czyli ma kolor tła, tylko
teraz pytanie którego? Zgaduje po układzie tych stref, że padding będzie
miał kolor contenta, a margin tego co jest na zewnątrz? Czy może oba kolor
contenta?
 
-- 
pozdrawiam
Roman Tyczka
Technical Details
Message-ID: <1dazz1aezxts4$.dlg@tyczka.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
References: <1sg103l7akrc3.dlg@tyczka.com> <1t0w5a0og1gc0.1a8n5uvr4mlt5$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail
From: Roman Tyczka <noemail@because.no>
Newsgroups: pl.comp.lang.javascript
Subject: Re: CSSowe box model i pytania
Date: Tue, 5 Feb 2019 08:40:01 +0100
Organization: ATMAN - ATM S.A.
Lines: 16
Sender: romek@tyczka.no.found
Message-ID: <1dazz1aezxts4$.dlg@tyczka.com>
References: <1sg103l7akrc3.dlg@tyczka.com> <1t0w5a0og1gc0.1a8n5uvr4mlt5$.dlg@40tude.net>
NNTP-Posting-Host: ip-94-75-90-137.wave.com.pl
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1549352401 629 94.75.90.137 (5 Feb 2019 07:40:01 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Tue, 5 Feb 2019 07:40:01 +0000 (UTC)
User-Agent: 40tude_Dialog/2.0.15.84
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit