html - IE8 reserving space for a non-displayed element -
I have a simple page with the form and selects. The number of those selections is set to be invisible and I use javascript to set visible / invisible well.
They have CSS to set invisible:
select {margin: 0; Margin top: 5px; Padding: 0; Border: 0; }. Visuals {Display: None; }
It works fine on Firefox, Opera and Chrome, but of course, on Internet Explorer 8.
This selection disappears, but it stores 1 or 2 pixels for each.
You can see that there is a large space between "Modellay" and "Budget" ... if you play you can see it better "Mark" dropdown with.
IE & lt; Providing space between / select & gt;
and next start & lt; Select & gt;
If you remove the new line and any location between these two elements, then your mysterious places will be empty.
Comments
Post a Comment