css - Div height solution missing in ie6 -


I am using an empty div to display a line by setting height 3px It works fine in all browsers, but the higher unit displayed with 20px height is displayed in or 6 . It remains the same for height: 0 px. But changes in other properties reflect height, but duplicate css entry and are not inherited from the other div Anybody can help

  & lt; Div id = "line" & gt; & Lt; / Div & gt;  

CSS:

  # line {border: none; Background color: # 134c7c; Height: 3px; Margin-down: 20px; }  

The strange idea of ​​Internet Explorer is that the content of each element should be minimized A character high can be found around you using the overflow feature, in this way the material can make a character high, but it does not affect the height of the element:

  .line { Height: 3px; Hidden flurry; }  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -