Suspected vertical spacing of a DIV-element

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
 
G

gerry

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top