Sometimes it nessary to hide View All Site Content and the Recycle Bin on a SharePoint page. This can be accomplished by using a Web Part, CSS and JavaScript.
Choose Site Actions, Edit Page.
SharePoint Edit Page
Add a new Content Editor Web Part(in Miscellaneous) to the page.
Choose Edit, Modify Shared Web Part.
Modify Shared Web Part
Put the following two code section into the Source Editor:
<style>
.ms-navframe {
display: none;
}
</style>
<script language="JavaScript">
document.getElementById('onettopnavbar1002-1').style.visibility='hidden';
document.getElementById('onettopnavbar1002-2').style.visibility='hidden';
document.getElementById('onettopnavbar1002-3').style.visibility='hidden';
document.getElementById('onettopnavbar1002-4').style.visibility='hidden';
</script>
Choose the OK button and now the View All Contant and Recycle bin should disappear.
Exit Edit Mode to complete.