My Thoughts & Views

Archive for December 27th, 2007

Use this javascript code to display “Last Updated” date.

document.write(“Last Updated on:”) ;
document.write(document.lastmodified) ;

CSS has two properties for hiding the contents. Those are

1. Visibility
values: inherit visible hidden ;
2. Display
values: block none inline list-item ;

Both Visibility and Hidden are used to hide the information, but when you use Visibility to hide, browser still takes up the space in layout and displays blank space.

Whereas if you use Display to hide the information, browser will removes the element completely from the document and it doesn’t show any blank space in that location, even though the HTMl for it is still in the source.

Use : Using these properties you can create effects of collapsible panel.


Blog Stats

  • 70,638 hits
December 2007
M T W T F S S
« Nov   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Top Clicks

  • None