How To Specify Is the Color of the Padding Area

Q

How To Specify Is the Color of the Padding Area? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements

✍: FYIcenter.com

A

CSS doesn't allow you to specify the color of the padding area of a block element. The padding area is part of the background of the block element. In another word, the padding area and the content box share the same background.

2007-05-11, 4345👍, 0💬