Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

need CSS help (UNCLASSIFIED)

  Asked By: Evelyn Little         Date: Apr 27, 2006      Category: Sharepoint      Views: 251
 

I am having trouble finding out which class controls the inner text color in regards to Document Libraries on the portal. Does anyone know which ones to edit?

Tagged:        

 

9 Answers Found

 
Answer #1       Answered By: Kalyan Pujari          Answered On: Apr 27, 2006       

Not following what you mean by “inner text  color”. Can you attach a screenshot with what you need circled or highlighted?

 
Answer #2       Answered By: Isidro Berger          Answered On: Apr 27, 2006       

If you go here http://james.milne.com/SPSkin/ ... you should be able
to find a solution.

 
Answer #3       Answered By: Schuyler Le          Answered On: Apr 27, 2006       

It is the line item text  and hyperlinks in the libraries.

 
Answer #4       Answered By: Kristina Cox          Answered On: Apr 27, 2006       

Sorry…I tried there already, but it didn’t help.

 
Answer #5       Answered By: Sharonda Mcfarland          Answered On: Apr 27, 2006       

Take a look at msdn.microsoft.com/.../...plyingCorporateBrand.asp

Also you can get TopStyle Lite and view your sps.css using that.
Try this and uncheck the Visible on Page under Layout and it will only show when in the Design this Page mode.
<!-- Paste this into Content Editor Web Part with Source Editor to show css  class of hovered areas -->
<script language="jscript">
function IDInfo()
{
if (window.event.srcElement.tagName != null)
{
ststag.innerText = "<" + window.event.srcElement.tagName + ">";
}
else
{
ststag.innerText = "";
}


if (window.event.srcElement.id != null)
{
stsid.innerText = window.event.srcElement.id;
}
else
{
stsid.innerText = "";
}

if (window.event.srcElement.name != null)
{
stsname.innerText = window.event.srcElement.name;
}
else
{
stsname.innerText = "";
}

if (window.event.srcElement != null)
{
var currElem = window.event.srcElement;
var classTree = '';
do
{
if (currElem.className != null && currElem.className != '')
{
if (classTree != '')
{
classTree = currElem.className + "->" + classTree;
}
else
{
classTree = currElem.className;
}
}

currElem = currElem.parentElement;
} while (currElem != null);

stsclass.innerText = classTree;
}
else
{
stsclass.innerText = "";
}
}

window.document.body.onmouseover = IDInfo;</script>

<div style="border-style:solid;border-width:1px; width: 350px; height: 34px;
position: absolute; left: 250px; top: 410px; z-index:15; padding-left:4px;
padding-right:4px; padding-top:2px; padding-bottom:2px; background-color:#EEEEF4">
<p id="ststagtitle"><font face="Tahoma" id="ststagtitle">Tag: </font>
<font face="Tahoma"id="ststag"> </font>
</p>
<p id="stsidtitle"><font face="Tahoma" id="stsidtitle">ID: </font>
<font face="Tahoma"id="stsid"> </font>
</p>
<p id="stsnametitle"><font face="Tahoma" id="stsnametitle">Name: </font>
<font face="Tahoma"id="stsname"> </font>
</p>
<p id="stsclasstitle"><font face="Tahoma" id="stsclasstitle">Class: </font>
<font face="Tahoma"id="stsclass"> </font>
</p>

</div>

 
Answer #6       Answered By: Willard Valenzuela          Answered On: Apr 27, 2006       

Whoops, forgot to add that it is in OWS.CSS.

 
Answer #7       Answered By: Allison Stewart          Answered On: Apr 27, 2006       

.ms-vb, .ms-vb2, .ms-GRFont, .ms-vb-user{

font-family: verdana;

font-size: .68em;

vertical-align: top;

padding-right:;

}

This style rule effects more than just the library, so don’t make it a color  you only want applied to document  libraries.

 
Answer #8       Answered By: Emmett Hyde          Answered On: Apr 27, 2006       

Or you can use IE Developer Toolbar (www.microsoft.com/.../details.aspx).

Highlight what you need on the site, right click and select View Partial Source. Search for an easy recognizable term, in this case I used “Gallery” and read the styles from there.

 
Answer #9       Answered By: Michelle White          Answered On: Apr 27, 2006       

I got it changed. The page doesn’t reference the custom stylesheet, but for some reason it is using the styles anyway

 
Didn't find what you were looking for? Find more on need CSS help (UNCLASSIFIED) Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].