Inline Elements « Style Basics « HTML / CSS






1.CSS provides the following properties for styling inline boxes:
2.Inline Elements list
3.Inline Box
4.Shrinkwrapped inline block by setting both width and height to auto
5.On an inline-block element, a positive value in margin-top expands the height of the line and a negative value shrinks it.
6.Block-level elements
7.inline element is floated
8.float inline block becomes block of multiline inline box
9.float inline with block inline padding








10.float inline elements becomes block
11.Middle Offset INLINE
12.Shrinkwrapped Absolute right aligned
13.Stretched Absolute in relative positioned parent
14.Middle Aligned INLINE