471,599 Members | 977 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

style visibility hidden problem

130 100+
hello all

i can hide what i want and revile it with javascript but there is a problam

even if its not there (style="visibility:hidden")
u can still notice that something is there i mean
if its a line in a table or dv or anything there is a gap

line one (visible)
line two (hidden but still u can see the gap)
line three (visible)

is there a way not showing the gap?

line one
line three

??

sorry about the bad english hope u guys can understand me
Nov 9 '07 #1
3 2155
drhowarddrfine
7,435 Expert 4TB
Yes, that is what 'visibility:hidden' is supposed to do. The box is still generated but you can't see it so the space remains occupied.

Perhaps what will work for you would be 'display:none' which will not generate any box at all.
Nov 9 '07 #2
Amzul
130 100+
sorry modoraters and all a quick read in google and i see i can use dusplay
so please delete no need to waste time

edit

can i delete?i didnt notice the reply from u and i can see button edit/delete
how can i delete
Nov 9 '07 #3
drhowarddrfine
7,435 Expert 4TB
Do not delete so others may learn.
Nov 9 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Ahmad Noori | last post: by
33 posts views Thread by amerar | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.