on 07-28-2005 9:11 PM
Hi, does anyone know where I can find the list of CSS classes that htmlB uses? For example, when I view source for htmlB button, I see that the css class '<b>urBtnStd</b>' is used, where can I find a list of these classes?
Thanks so much,
Baggett.
Hi Bagget,
Look from your page source where your css style sheets are located. Look for lines of code between <head></head> tags.. It should look something like this:
<link rel="stylesheet" type="text/css" href="/path/to/the/folder/where/css/files/are/*.css" />
Then if you want to view it you can take a peak in it by adding this path after your domain name. For example:
http://www.yourdomainname.com/path/to/the/folder/where/css/files/are/*.css
You might find this usefull too:
Oh and remember that when you do right click -> View source you're viewing the source of that iView your mouse is over at (at least it works like this in IE). So you might want to take a look also other iView source codes on that page to find the .css you're looking for..
Hope this helps
Regards,
Ville
Message was edited by: Ville Leivo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
package com.mycompany.test;
import com.sapportals.portal.prt.component.*;
public class CSSTest extends AbstractPortalComponent
{
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
{
response.write("<html><head><title>CSS test</title></head><body class = 'gSAPBody'>");
response.write("<B class='gSAPB'>Using SAP style sheets</b>");
response.write("</body></html>");
}
}
To use CSS classes gSAPB, gSAPBody, gSAPInputText, gSAPInputButton etc., It is not required to add any stylesheets explicitly.
From the broswer HTML code, it can be observed that depending on the theme, Browser(IE, NetScape Navigator) and version respective style sheets are included.
If you search in ur file system for the *.css file with the string 'gSAPBody', you can find lot files based on theme and browser.
I don't know where we can find the documentation for these classes - gSAPBody etc. I found this technique in the book "SAP Enterprise Portal" by SAP Press.
Hope this helps.
~kranthi
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.