...

View Full Version : div height 1px problem (IE)



smalldog
10-15-2007, 10:03 PM
Hi. How can i set the real height 1px of the div in the IE? It looks like 2px or 3px instead....

I tried use strict doctype, i tried this code (it helped alot but its not still 1px)



line-height:1px;
font-size:1px;


Thanks

nikos101
10-15-2007, 10:24 PM
this may help I think (http://www.positioniseverything.net/explorer/threepxtest.html)

:)

_Aerospace_Eng_
10-15-2007, 10:55 PM
this may help I think (http://www.positioniseverything.net/explorer/threepxtest.html)

:)
That has nothing to do with the OP's problem. Try this

height:1px;
font-size:0;
line-height:0;
overflow:hidden;

smalldog
10-16-2007, 12:15 AM
Aerospace this really helped.. thanks.. thanks nikos too for your try ;)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum