
CSS Definitions
to display the class being used on any part of a sharepoint page, add the following code to any content editor web part on the page and when you will hover the pointer over different areas of the page the class used should be displayed
<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>
<div style=”border-style:solid;border-width:1px; width: 281px; height: 34px;
position: absolute; left: 286px; top: 41px; z-index:15; padding-left:4px;
padding-right:4px; padding-top:2px; padding-bottom:2px; background-color:#EEEEF4″>
<p id=”stsclasstitle”><font face=”Tahoma” id=”stsclasstitle”>Classname: </font>
<font face=”Tahoma”id=”stsclass”> </font>
</p></div>