Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Hot To Specify the Padding Spaces of a Block Element
Hot To Specify the Padding Spaces of a Block Element? - CSS Tutorials - HTML Formatting Model: Block, Inline and Floating Elements
✍: FYIcenter.com
CSS offers 4 style properties to control padding spaces of a block element. You can specify them in different ways as shown in the following CSS examples:
When padding spaces are specified, the size of the content box will be reduced to give room to meet the specified padding spaces on 4 sides. The size of the content box can be calculated as:
Content width = "width" - "padding-left" - "padding-right" Content height = "height" - "padding-top" - "padding-bottom"
2007-05-11, 5820👍, 0💬
Popular Posts:
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...
What is cross page posting? By default, button controls in ASP.NET pages post back to the same page ...
How Can we change priority & what levels of priority are provided by Dot Net? Thread Priority ca...
Who Developed HTML? HTML was originally developed by Tim Berners-Lee while at CERN, and popularized ...
What Is the "@SuiteClasses" Annotation? "@SuiteClasses" is a class annotation defined in JUnit 4.4 i...