Overwriting Default style sheet elements
Hi ,
I am trying to add background color for my form using
<body bgcolor="#999999" .....
but it is getting overwritten because of default style sheet for that B.S.Page added due to addition of any one or more of following elements :- <htmlb:content> , <htmlb:page> ,<htmlb:form> .
How can i overwrite the attributes set by these HTMLB elements ( <htmlb:content> , <htmlb:page> ,<htmlb:form> )in my BSP.
Regards,
Ashok
Did you had a look at this weblog
/people/sap.user72/blog/2005/04/12/bsphowto-css-hints--custom-design-for-your-bsp-applications
Also read the comments of the weblog.
Regards
Raja
Similar Messages
-
Please let tell me the exact location of the default Style sheets of ADF
Hai Everyone,
Please say me the exact location of the default Style sheet of ADF Since i need to modify the color & Background image of the Table which i have drag & dropped in the work space from the Data control palatte.
regards,
SUGANTH.GThanks for ur information Mr.Frank
I need another clarification from u The images used for the button in ADF is not satisfied for us.
I need to use my own images & also I am not interested to use a button images as command link and proceed. Since it leads to an another issue
I need to overwrite the basic button images used by ADF. U can give my a suggestion regarding this issue -
Setting the default style sheet
I am trying to set the default style sheet to my customized css - mainstyle19-en.css. I know that I have to run this command - ant make_main_css -DCOLOR=19 but I don't have ant in my path and it is not recognizing it as a command. How do you put that in the path? Also - where are you supposed to run this command? I know somewhere on the server where the image server is located, but where exactly?
Thanks for your help,
Karen.In addition, if you are using .net, Sarah Wheeler created a simple portlet that allows the user to create a header portlet with the ability to change the stylesheet. I have modified it a little and would be happy to share my version. Take a look at this thread - http://portal.plumtree.com/portal/server.pt/gateway/PTARGS_0_283309_4352_2758_4823_43/http;/PRODGADGET12.plumtree.com/collab/discussion/app/threadDetails.jsp?projID=39883&forumID=48674&threadID=80810&messageID=80894 (If the link doesn't work, it is located Discussions: Pluggable Nav, Style Sheet Mill, PEI, UI Cust: Changing colors/style sheets with custom header portlets?)
If you send me an email at [email protected] will send you the code.
Michael [email protected] -
How to get J developer 11g default style sheet
Hi
I need J dveeloper 11g default styel sheet
how can we get thatI don't know what exactly you are looking for. I searched the folder where
I installed JDev. There are lot of css files over there.
check here too: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/styles/index.jspx?_afrLoop=160877128562466 -
I'm trying to use a custom CSS style sheet and can't get it to work. I've created my stylesheet and uploaded it so it shows under Shared Components >> Cascading Style Sheets.
Viewing the source for my pages currently shows a reference to what I guess is the default style sheet -
<link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />But no reference to the one I uploaded. So I guess I need to add a new reference pointing to my sheet.
So questions would be -
- How and where do I add this reference?
- Is this the correct way to do things if I want to use my own styles?Antilles,
Go to your Shared Components > Temples > Select the page template you wish to apply your CSS to and in the "Header" area you will see references to the APEX CSS, something like,
<link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_17/theme_3_1.css" type="text/css" />Now, just add your CSS reference after any APEX CSS references.
Hope this helps.
-Chris -
Style for following paragraph only works for RH default styles?
I'm creating my own styles in the styles and formatting pod. When you choose 'Edit' and then fiddle with the settings in the dialogue box, there is an option for "Style (style for following paragraph).
This is a great feature. The problem is, it only seems to work if you choose a style that existed by default in RH (e.g. Heading 1, Normal). When I choose a style I created, the next style created with a hard return is just a repeat of whatever style you were in on the previous line.
It's hard for me to understand why it won't work with any of the other styles I created, since they all appear in this dialogue-box list as options. Could someone please enlighten me?I'm using the default style sheet. I've added my own topics in it.
Any other thoughts? -
(none) style gets applied to numbered list & font size not matching text in my style sheet
RoboHelp 9 (9.0.2.271)
Something is wrong with my style sheet, and it only started happening after I created Master Page for the first time. This happens whether or not the new Master Page is applied to a topic: Every time I type any text in a topic, then click the Numbered List icon in the toolbar, the style goes from Normal to (none), and the font changes from my style sheet's Normal 10pt to 8pt, for the number as well as the text.
I don't see how the new Master Page has anything to do with it because it's not applied to this particular topic. I had created a Master Page in RoboHelp HTML and applied my style sheet, then my topics to it. I have a footer in the Master Page and applied 8pt font using inline formatting (not the style sheet).
I created a new project to see what would happen.
When I apply my style sheet, then apply the numbered list to text, the text font is correct (10pt), but the number font is wrong (8pt).
But when I apply the default style sheet to the topic, the number font and text font match.
How can I get the number and text fonts to match in my style sheet?
I found a workaround by applying inline formatting to the next (10pt) after selecting the text and clicking the numbered list icon. Below is the html code. The numbered steps in red are the ones that are not correct (8 pt). The code with the correct formatting (after I applied inline formatting) is in blue.
<body>
<h1>My Overview</h1>
<p>example</p>
<ol type="1">
<li>first step</li>
<li>second step</li>
</ol>
<ol type="1">
<li style="font-size: 10pt;">Fixed by applying inline formatting to
10pt after selecting the numbered list icon</li>
<li style="font-size: 10pt;">next step</li>
</ol>
<p> </p>
<?rh-placeholder type="footer" ?>
</body>
Thanks.
Gina
Message was edited by: ginafromtampaAmebr,
That was helpful. I'm looking at a topic now, and both the Apply Style list on the Formatting toolbar show (none) when I click a numbered list that I created using the Created a Numbered List or Create a Bulleted List on the toolbar.
This is the html code for the correct font (10pt):
<ol>
<li class="p">this is the (none) style when I use the numbering button
on the toolbar (which is inline formatting)</li>
<li class="p">this is the (none) style when I use the numbering button
on the toolbar (which is inline formatting)</li>
<li class="p">this is the (none) style when I use the numbering button
on the toolbar (which is inline formatting)</li>
</ol>
Both styles list show the correct custom styles I created for numbered lists, though. Below is the code (correct font):
<ol>
<li class="p-ProcedureSteps"><p class="ProcedureSteps">this is from
my custom numbered style and looks correct</p></li>
</ol>
What's strange is, if I create a list and highlight it, then click the Apply Numbered List button in the toolbar, the numbers and text font size changes to 8 point and my Normal font is 10 pt, and both style lists show (none). That's what I wanted to figure out in my original post. I opened up the stylesheet and I don't see where that's applied. In Flare, you can easily see in a table how the styles are formatted, down to each class.
This is the code for the incorrect font (8pt):
<ol type="1">
<li>why is this 8pt?</li>
<li>why is this 8pt?</li>
<li>why is this 8pt?</li>
</ol>
Below is a screenshot.
Maybe someone can figure this out. Thanks!
Gina -
Hello Everybody
1. Can anyone please let me know what advantage i am going to get by using in OBIP reports and how to use it.
2. How to use the style sheet in my report.
3. I tried to access the default style sheet of Oracle available in the tool. But the file having an extension of xssz. Can you please let me know how to open this file.
Thanks
SrikantRick, thanks for the tip. I'll check out @import and see how
that works.
To give you both a little background, since I often see your
names on this forum, I'm building a brand new help project for a
brand new product. I'm trying to make smart, scalable
infrastructure decisions for the product and help project's future.
Currently, I'm the only author, but in the future there will
certainly be others.
I'm using RoboHelp 7 now, and considering the upgrade to
RoboHelp 8. I also need to make decisions about source control and
deployment, but those will be mostly made by our development and IT
departments. Our product is written in Ruby, which RoboHelp does
not provide API support for, and our development team would like to
get away from IIS to serve up the pages of our web portal, which
RoboHelp Server utilizes. So I'll probably have some more questions
for you guys in the near future :-D
Any recommendations about upgrading to RoboHelp 8? Any
suggestions for providing context sensitive help via Ruby on
Rails? -
Site-specific style sheet rules
Hello,
Does anyone know if it's possible to add site-specific sections to my default style sheet (Preferences > Advanced > Style sheet)? It's possible to do this in Firefox using this syntax: @-moz-document url-prefix(http://www.apple.com) { ... }, but I'm not aware of a Safari or Webkit equivalent.
I'd like to undo some of the changes made in a recent re-design of one of my favourite web sites, but due to the rather generic IDs and class names that they use it's proving to be difficult to write a style sheet that only targets that site.
Thanks,
TimHi Jinxed,
Firstly, I need to verify the followings:
Are you using SharePoint 2013?
What is website designer? Whether the website designer is SharePoint Deisgn Manager or SharePoint Designer.
Where can we find Site->Advanced->Edit Style Sheet?
Could you give me a screenshot for your Site?
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Default CSS to style sheet rather than in document?
Any setting that defaults styles to an external style sheet rather than to the document I'm working in? It's annoying when I forget to look at where it's going to place my new style rules.
DW CS4
Thanks!After a quick experiment with new style rules in the CSS Styles Panel, this is what I have discovered:
Sets of styles (stylesheets, internal styles, etc.) appear in the Styles Panel in the same order that they occur in the head of your document.
If you move style sets (or the <link>s to them) in the head of the document, they rearrange in the Styles Panel as well. Be sure to move the closing tags, too.
If you select a stylesheet in the Styles Panel, then click the "create new CSS style" icon, that is the stylesheet that shows up pre-selected in the "Choose where your rule will be defined" drop-down
So. You can't move whole stylesets or stylesheets in the styles panel, but you can move them in the head of the document. Rearrange them if you wish, remembering that the order is important...remember the cascade effect of (okay...) Cascading Style Sheets.
But click on the one that you want your styles to go into and that is the one that will show up in the selection drop-down when you make a new style.
Beth -
The page looks fine online b/c it is embedded in a file with a style sheet but too small in development. I think this is a simple/stupid question but I can't find the solution. Thank you.
In DW, hit F1 (help) and look at Design-Time Style Sheets. I use them quite often when a layout doesn't play nice with Design View.
Alternatively, go to View > Style Rendering > disable Display Styles to work with unstyled text. Neither method effects the actual page in Live View or Preview.
Nancy O. -
11g Custom.CSS Style Sheet issue...is it a bug?
I've created a custom style sheet that we're using to change the graphical elements of our dashboard. I've got everything working and I'm really pleased about how it's looking. Today, I started working on changing the default field attributes. I didn't want to have to go in and change 7-8 elements (font, size, bold, etc) so I used the Custom.CSS file and created new CSS classes that I could easily assign to fields. My thought was that I could go through my whole web-catalog once and apply the CSS to each of the fields, their headers, etc. so that if we wanted to make global changes to formatting later on, I could go and edit the Custom.CSS.
I've run into a slight problem which brings me to the purpose of this post. I have saved the CSS classes into the fields, applied them and saved the changes as the defaults for the fields. Everything works great and the CSS defined styles appear when I create a new report. My concern is that when I create a new report and pull in one of the fields that I have defined and saved the default style, the field no longer shows that it's definition is linked to the Custom.CSS. If I hover over a field in Firebug, it tells me that it's referencing the Custom.CSS, so I know the field is actively referencing the CSS. Shouldn't the field retain the reference to the Custom.CSS when I save the style? Any other developer going into the field will not be able to tell that there is a style sheet that defines the field attributes.
Also, is there a better way to go about applying styling to fields across the board?Hi Brad
The changes to the file is not done outside of Muse, I know by touching Muse's files from BC will screw things up,
rather it is done from Muse itself by going to the page properties and entering an html code in the header of the page.
Also maybe I should'nt said Locally Published, I meant when exporting the html and viewing it locally.
Regards -
How to Make a "fonts.css" style sheet
Hi, I have a wordpress blog with a stylesheet named “style.css”. I want to change the fonts in the style sheet and so I want to create a separate style sheet named “fonts.css"
I could just duplicate the ”style.css” page and then rename it “fonts.css” but I believe I read somewhere it is better to create a new style sheet named “fonts.css” and then add my font styles to that. Doens anyone know of a tutorial or how I make the new style sheet and add my fonts?I only typically use two stylesheets on any given site, layout.css and styles.css. One is for the overall layout/positioning info of the site and the other is the style information which would include fonts, colors, shadows, transitions, etc.
If it is better in your mind and for your workflow to create a third stylesheet just for the font values, go for it. To me, fonts are just another style element though, so they stay in my styles.css file.
There's really no right or wrong to doing it either way. Just make sure you create another link in the head section of your site to the new file if you create fonts.css.
Thanks jon,
Yes I agree, I could just change the fonts in “style.css” and then have less style sheets, but the themes developer told me to create a new style sheet named “fonts.css” only because the theme is updated regularly and uploading a new theme will write over the file named “style.css” and then your fonts will default to their original fonts.
I don't see anything wrong with that approach. Just remember that if you have both styesheets linked to the same page then the page will get it's css styles from the last linked stylesheet.
So for instance if you have:
body {
font-size: 14px ;
in the style.css
and
body {
font-size: 12px ;
in the fonts.css
and the last linked stylesheet was styles.css the page would display 14px text.
So you just need to get them in the right order IF you have more than one styleshet linked to a page.
Thanks Osgood,
Yes that was my other question. So in my uploaded CSS folder I have the original “style.css” file and now my new “fonts.css” file. “style.css” is above the “fonts.css” file and both contain the same information except the file “fonts.css’ has been changed to use different fonts.
So if I understand you correctly I need to either move the file “fonts.css" above the file “style.css” or delete “style .css” from the CSS folder so the file “fonts.css” will take precedence. Is this correct?
Also, I needed to open style.php and edit the code to include “fonts.css” which I did.
I opened "style.php" and then added the code in "red" then uploaded it to the (CSS) folder on the server.
<?php
header( "Content-type: text/css" );
$files = array();
$files[] = 'style.css';
$files[] = 'responsive.css';
$files[] = 'fonts.css';
foreach($files as $file) :
$content = @file_get_contents( $file );
echo minify( $content );
endforeach;
function minify( $code ) {
$code = preg_replace( '#\s+#', ' ', $code );
$code = preg_replace( '#/\*.*?\*/#s', '', $code );
$code = str_replace( '; ', ';', $code );
$code = str_replace( ': ', ':', $code );
$code = str_replace( ' {', '{', $code );
$code = str_replace( '{ ', '{', $code );
$code = str_replace( ', ', ',', $code );
$code = str_replace( '} ', '}', $code );
$code = str_replace( ';}', '}', $code );
return trim( $code );
?>
After doing all of this I still didn’t see any changes to my fonts so I must have done something wrong.
Any ideas? -
How to eliminate a border? (agent style sheet overriding my CSS)
Hi,
Im having trouble removing a border that is surrounding a contact form (seen below).
Whatever CSS I write, nothing seems to get rid of it. When viewed in the google chrome element inspector it seems like the border is coming from an 'agent style sheet', but i dont know where this is located in order to change it (cant seem to see it in the linked CSS and JS files).
Here is what it lookis like in the element inspector in google:
Any help wpuld be much appreciated as I just seem to be going round in circles!
Thanks."user agent stylesheet" is Chrome's way of saying "default styles"
Unless you specifically knock out the border in your CSS for the fieldset, it uses the default setting which, for Chrome is "2px groove threedface". -
Default Style Column Breaking in an Interactive report
In a normal SQL report there are two types of column break formatting:
1) Default Breaking Format e.g.
aaa 123
456
bbb 789
123
2) Repeat Headings e.g.
aaa
123
456
bbb
789
123
Interactive reports seem to only implement Repeat Headings . Is it possible to break columns in an IR report using "Default Breaking Format"? If so how?
thanks
PaulPJB wrote:
Is it possible to add conditional column formatting in an Interactive Report in Apex 4.1? I've found numerous examples for older versions using the standard (classic) report, but I haven't found any with the new Interactive Report. Is this possible? and if so, can someone point me in the direction of some documentation or examples?
Oracle Application Express (APEX)
As interactive reports lack the HTML Expression feature of standard reports, the simple way to do this unfortunately requires violating the separation of concerns and generating structural (a <tt>span</tt> element) and presentational (an in-line style sheet) aspects in the query:
select
⋮
, case
when trunc(calling_date,'DD') = trunc(sysdate,'DD')
then
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span style="color: #3399FF;">' || to_char(calling_date) || '</span>'
else
'<!-- ' || to_char(calling_date, 'YYYYMMDD') || ' --><span>' || to_char(calling_date) || '</span>'
end calling_date
⋮For number/date columns to be properly sortable, the leading edge of the column must be an HTML comment that provides the required sort order using character semantics, as shown here.
The Display As column attribute for such columns must be set to Standard Report Column.
This method has side effects: some IR filters won't work; aggregate calculations can't be applied to the column; and report exports contain the HTML rather than the expected value.
Other approaches involve using Dynamic Actions/jQuery/JavaScript, or using the built-in highlight as suggested above, then saving the highlighted report as the default.
Maybe you are looking for
-
That's basically the info I need. I have the product information, just not the product to download and install. Help?
-
UTF-8 conversion to Unicode Error in Mapping
Hi I have developed a java mapping program ..which in a normal scenario works properly but fails when it encounters the following kind of characters. eför and gives the following exception org.xml.sax.SAXParseException: Zeichenumwandlungsfehler: "UTF
-
Requistion in Erecruitment in SAP but not in Portal
Hi, I am able to create requisition using workflow from MSS and its updated in HRP5125 and so on but recruiters are not able to see it in the portal...are there any settings I am missing. Thanks, Sheshu Edited by: st on May 22, 2009 11:46 PM
-
is there any limit for the number of datablocks in a form? i have a form that has 8 blocks and all of them are none base, some times when i use this form it suddenly closed and a special file (ifrun60_dump file) is created.i donot know the reson and
-
Will my mac mini run Snow Leopard smoothly?
Hi I'm looking to upgrade the operating system on a mac mini. It's running Tiger 10.4.11 and i want to upgrade it to something newer and more secure. Snow Leopard is the highest it can go, but it doesn't meet the requirements for some of the key fea