1. Differences between inline and blocks element
inline elements (
span; anything with
block elements (
div; anything with
There is an important difference between their padding and border formatting.
- The position of Block: includes its padding and border and
- The position of Inline: includes only horizontal paddings and borders
2. Bugs in IE
- e.g. in WinIE, _
3. Dynamic width of background
- Prepare the background image in the same ratio as the columns.
- Position the image in the background in the same ratio as well.
background: url('bkgr.gif') 30% 0% repeat-y;