- .NET (4)
- Administration (14)
- Allgemein (7)
- C# (4)
- CRM (1)
- MOSS 2007 (33)
- Office (2)
- Programming (5)
- Project-Server (3)
- Projektmanagement (5)
- SharePoint (46)
- SharePoint 2010 (11)
- Uncategorized (1)
- VB.NET (2)
- Web (8)
- WIN 2008 (3)
- Workflow (9)
- 23.1.2012: Datenimport-Überlegungen (MS-CRM)
- 20.12.2011: Vorhandene Projekte in Project Server hochladen
- 18.12.2011: Project-Server Pro und Contra
- 17.12.2011: Project-Server 2010 Project Web Application (PWA)
- 25.9.2011: Migration MOSS 2007 nach Sharepoint 2010 Schrittweise (Step by Step)
- 16.9.2011: Backup-Script (Powershell) für Sp2010 aller SiteCollections und Websites einer Web-Application
- 31.3.2011: Ändern der Sprache in der SharePoint Zentraladministration (2010/2007)
- 28.1.2011: Was ist neu in SharePoint 2010 Foundation (Serie) - Teil 3
- 25.1.2011: Was ist neu in SharePoint 2010 Foundation (Serie) - Teil 2
- 25.1.2011: Was ist neu in SharePoint 2010 Foundation (Serie) - Teil 1
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.