🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: CSSowe box model i pytania

#50503
From: Roman Tyczka
Date: Tue, 05 Feb 2019 08:40
15 lines
490 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

Message-ID: <1dazz1aezxts4$.dlg@tyczka.com>
Path: polish.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <1sg103l7akrc3.dlg@tyczka.com> <1t0w5a0og1gc0.1a8n5uvr4mlt5$.dlg@40tude.net>