Suspected vertical spacing of a DIV-element

  • Thread starter Thread starter K Viltersten
  • Start date Start date
K

K Viltersten

I'm using this lines of code.

ddd<div id="advanced-search" style="visible:false;overflow:
auto;"></div>eee

I expected "ddd" and "eee" to be vertically close to eachother.
As it looks, the DIV is taking up vertical space. What can be
done to avoid it? I've tested "visibility:hidden" and
"visibility:collapsed" but to no avail.

Expected appearance:
ddd
eee

Observed appearance:
ddd

eee
 
for future reference : google is your friend !

ddd<div id="advanced-search" style="display:none"></div>eee


I'm using this lines of code.

ddd<div id="advanced-search" style="visible:false;overflow:
auto;"></div>eee

I expected "ddd" and "eee" to be vertically close to eachother.
As it looks, the DIV is taking up vertical space. What can be
done to avoid it? I've tested "visibility:hidden" and
"visibility:collapsed" but to no avail.

Expected appearance:
ddd
eee

Observed appearance:
ddd

eee
 
Back
Top