- .NET (4)
- Administration (12)
- Allgemein (6)
- C# (4)
- MOSS 2007 (31)
- Office (2)
- Programming (5)
- SharePoint (38)
- SharePoint 2010 (3)
- Uncategorized (1)
- VB.NET (2)
- Web (7)
- WIN 2008 (1)
- Workflow (8)
- 27.4.2010: Access denied while joining an existing MOSS 2007 farm
- 27.4.2010: SQL-Server Logfiles kürzen / Shrink SQL-Server DB Logfiles
- 14.4.2010: Timerjobs für Policies laufen nicht
- 10.12.2009: CAML query nested too deep
- 28.11.2009: SharePoint 2010, Listen und Bibliotheken, was ist neu?
- 27.11.2009: SharePoint 2010 Beta, erste Eindrücke
- 6.10.2009: SharePoint Fehlermeldung bei Verwendung der Suche / Search error
- 25.9.2009: MOSS große Listeneintrag Anlage wird nicht hochgeladen / MOSS large list item attachment not uploading
- 20.9.2009: stp Vorlage ungültig... / stp template invalid...
- 26.5.2009: Erste Systemvoraussetzungen für SharePoint 2010 von Microsoft veröffentlicht
MOSS und WSS CSS offenlegen - How to find the right CSS class
Wer sich schon einmal mit dem Branding von SharePoint-Seiten befasst hat, der wird schnell herausgefunden haben, dass es nicht so ganz einfach ist herauszubekommen, welche CSS-Klasse für welches SharePoint-Element zuständig ist.
Um das etwas zu vereinfachen, gibt es 2 sehr schöne Hilfsmittel. Ein kleines Script und die IE-Developer Toolbar von Microsoft.
————————————-
Have you ever struggled to find the right CSS class for your SharePoint branding? Anyone who tried it has surely found it annoying to toggle throug the classes to find the one he needs.
To make things a bit easier there are 2 little helpers. A small script and the IE-Developer tollbar from Microsoft.
Here is the script. You simply have to insert it into a contend editor webpart on your site and move your mouse over the different parts you want to map to a CSS class. I found it somewhere in the MSDN-Library.
<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>
The link to the IE-Developer toolbar ist here.