Best way to remove an item from the page

Goud.Kv
Posted by Goud.Kv under CSS 3 category on | Points: 40 | Views : 540
Below code snippet of CSS is the best way to remove an item from the page.

#item {
position: absolute;
top: -9999px;
left: -9999px;
}

This will removes the item from the page without affecting page flow and also without causing scrollbars.

This is better than giving,
display:none;
or
visibility:hidden;

Comments or Responses

Login to post response