Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
hide a things on the web pages!? hide a things on the web pages!? script33
4 example i use a webstat that the icon of that counter is very horrid how i can hide it in my web pages 4 a good style?
4 example i can hide it with a layer or div?
plz teach me...
Insert your counter, or whatever, into a <div>:
<div id="hide_content" style="display:hidden;">
INSERT WHATEVER </div>
The style="display:none;" is the key/important part.
The style="display:none;"? where is it? where i insert it? Marshall
Place the tag below <div id="hide_content" style="display:hidden;"> BEFORE the item you want to hide.
THEN place the item you want to hide.
</div> AFTER the item you want to hide. Marshall script33
style="display:none;" is not intransitive? i dont insert it? script33
what is your thought about this code?: <div style="position:relative;visibility:hidden"> your code </div>
which one is better?
visibility: hidden hides the element, but it still takes up space in the layout.
display: none removes the element completely from the document. It does not take up any space, even though the HTML for it is still in the source code
Thanks Marshall (& script33). Glad I read this thread. I didn't know there was such a thing! I'm already using it and you're right, the hidden object doesn't take up any space. Super!
You're more than weclome. Glad to help when I can. Marshall