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

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.

© 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.