Skip to main content

SharePoint Ninja

Go Search
SharePoint Ninja
  

TechElixir > SharePoint Ninja > Categories
Hiding bullets on links
Ever want to get rid of those bullets on a list, but don't want to go screw with a style sheet that might screw up everything on your site?
Try this
 
  • Drop a content editor web part (getting rid of the chrome of course)
  • put the following code in the source editor

<style>

.ms-vb img{display:none};

</style>

The little bullet is gone. Of course you could have put in a blank image but that takes a lot more energy :)

CSS Viewer
Put this code in a content web editor part and whenever you hover over an element the class will show up in the text of the viewer.
 
 
<div id=stsclass></div>
<script language="jscript">
function ClassInfo()
{
    if (window.event.srcElement.className != null)
    {
        stsclass.innerText = window.event.srcElement.className;
    }
    else
    {
        stsclass.innerText = "";
    }
}
 
window.document.body.onmouseover = ClassInfo;</script>