The blog of Jafar Aliyev


Creation date:

IE bug with first line

IE ignores the margin and padding fields of CSS for first paragraph inside of container with block model. Workaround is to insert an empty paragraph before this line, like

  <p>&nbsp;</p> .

Author: Jafar N.Aliyev (Jsoft)

Read also

Fixing overflow: hidden in IE

<div> against <table>

Measuring units for padding

Fixed background image

Overflow of inner block

The meaning of margin in Internet Explorer and Firefox

CSS hacks
Nowadays many designers give all measures in pixels, including the font sizes. They fit their site to Internet Explorer and...

Internet Explorer bug with tall block
The problem of IE with two containers. If the internal container is longer than one screen of browser you'll encounter the problem.

Height of parent container

© Copyright

All articles in this site are written by Jafar N.Aliyev. Reproducing of any article must be followed by the author name and link to the site of origin(this site). This site also keeps the same rules relative to the articles of other authors.