How to use CSS and images in a plsql-dbms_output reports?
Hi.
Windows 2000 SP4
SQL Developer 1.2.1.32.13
Java 1.5.0_07
Oracle 9.2.0.6
I'm trying to create a plsql-dbms_output report with HTML that uses a stylesheet (CSS) and an image. These seem to be ignored by the report viewer.
The following example works fine in Internet Explorer 6 but the stylesheet is ignored by the viewer and the viewer does not show the images (shows broken images instead). I've tried with various image types (PNG, GIF and JPEG).
<!--
begin
dbms_output.put_line('<head><link rel="stylesheet" type="text/css" href="file://c:/temp/core.css"/></head><body>');
dbms_output.put_line('<H1>This is Level-1 Heading</H1>');
dbms_output.put_line('<H2>This is a Level-2 Heading</H2>');
dbms_output.put_line('<p>This is regular paragraph text.</p>');
dbms_output.put_line('<img src="file://c:/temp/fig01.png"><br>');
dbms_output.put_line('<img src="file://c:/temp/fig01.gif"><br>');
dbms_output.put_line('<img src="file://c:/temp/fig01.jpg"><br>');
dbms_output.put_line('</body>');
end;
-->
Is the HTML viewer limited to not support stylesheets and images?
Thanks in advance.
Cheers
Finn Ellebaek Nielsen
It also seems that links don't work. The mouse cursor changes to a hand when hovering over links and the links are shown in blue and underlined but nothing happens when clicking on them.
Example:
<!--
<html>
<head><link rel="stylesheet" type="text/css" href="file://c:/temp/core.css"/></head><body>
<p>First heading</p>
<p>Second heading</p>
<H1 id="x1">This is Level-1 Heading</H1>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
a<br>
<H2 id="x2">This is a Level-2 Heading</H2>
<p>This is regular paragraph text.</p>
<img src="file://c:/temp/fig01.png"><br>
<img src="file://c:/temp/fig01.gif"><br>
<img src="file://c:/temp/fig01.jpg"><br>
<p>First heading</p>
<p>Second heading</p>
<p>Other document</p>
</body>
</html>
-->
Similar Messages
-
How to use Text and Image variables for printing
I have been working on product configurator with AS3 for several months now.
I am not proficient with AS3.
Now, it seems that maybe my design is all wrong.
Is there a proper way to do this?
I have a main timeline that has movie clips showing images of different options for the product.
On the first frame, I use buttons to select the choice for option 1 from the Option1_mc.
Then I store the choice in a variable.
I use a button to go to the next choice (frame 10.)
On frame 10, I use buttons to select the choice for option 2 from the Option2_mc.
This is stored in another variable.
There are about 10 options that are selected and stored in variables.
Some are text values and others are instances of images from the Option movie clips.
I made a Print_mc to use for printjob.
I can't get the values of the variables to display in the first frame for printing.
Any helpl would be appreciated.you're welcome.
you won't insert a variable into a textfield. you'll assign the text property of your textfield to be the value one of your variables points to.
so, for example, if you have:
var var1:String="this is a test";
you can use:
tf.text=var1; -
Help on Fireworks Css and Images Export mess
Hi,
After slicing up my design and export using 'css and images' the slices are all in the wrong places.
Further more the formatting on the main text section has disappeared and the button from the main section is missing.
Rather unpredictable!
Hopefully there is a simple fix to all this
ThanksIf you go to Pages and make a duplicate (from this page export just the Booking button as an image
Back to page 1. add slices for top navigation
add a slice over text area
In PI change Slice Type to HTML
Export as CSS and images
In DW place the button and add link.
Paste text into content area (now HTML instead of an image)
You'll need to tweak styles to fix margins
BUT - this is NOT the way to make a website. It is all images and search engines can't read an image and it takes too long to load. It's not search engine friendly at all. If it's comping purposes the ignore the rant :-) -
CSS and Images export problems
I am trying to export a page to dreamweaver using css and images method. I have created rectangles for the header, content and footer to create divs. Added text and graphics. When I export, it does not export with html codes and css, it gives me one big .jpg. "Layer_1.jpg". Does anyone know what I'm doing wrong?
Thanks,
Wendy
Message was edited by: wen8 I just found someone else with the exact same problem who said rebooting solved his problem. This also worked for me. Yeah!Problem fixed by rebooting!
-
Exporting "CSS and images (.htm.)" from Fireworks CS4?
Is this an effective process for developing CSS based layouts? Are there any proven tricks to improve the quality of the resulting structure?
It's a starting point, but it does not exempt you from understanding
XHTML and CSS. Currently there are some limitations to what the script
will export: it ignores additional states, javascript behaviors and
won't export more than 1 page at a time. Keep in mind this is just the
"first kick" and we'll no doubt see this feature embellished.
I recommend that you download and read about the updated CSS and
Images export script, modified by Matt Stow. You can find the new
script and his article here:
http://www.adobe.com/devnet/fireworks/articles/standards_compliant_design.html
The article also provides some tips on how to best plan your designs
if you plan to use the script.
HTH
Jim Babbage
NewMedia Services
http://www.newmediaservices.ca
Community MX Partner -
http://www.communitymx.com/author.cfm?cid=1036
Adobe Community Expert
http://www.adobe.com/communities/experts/members/206.html
Author - Lynda.com
http://movielibrary.lynda.com/authors/author/?aid=188
Author: Peachpit Press
http://www.peachpit.com/store/product.aspx?isbn=0321562879 -
Flex Library Project(SWC) with css and image assets
HI,
I want to create a flex library project with images and css. I shall use that swc with other flex applications. I wand to use those css and images from the swc. Is it possible? Can you please explain in detail.
Thanks
NirmalRight... but how do I reference that CSS outside of the
Libray Project?
All I want my library project to be is a CSS and images
Then I want to include that library project in my main
project, and have the main project call the CSS file inside the
library project -
How to use CSS option in Answers
Hi,
I have around 5 Dashboards, which includes close to 20 Reports.
I would like to learn how I can format column name (like Font, Size) and data appearance in each report.
Currently am doing it manually, one column by one column. I would like to know how to use CSS option.
Regards,
JitendraThe easiest way is to do this is to create a new "skin" for your dashboards or either modify the default. The location of the default folder is /res/s_oracle10/b_mozilla/views.css. The view.css file is where you can go and customize the classes. For example, if you want to customize the Pivot Table Row Header, search for .PTRH and then you can alter the existing formatting or add additional specifications.
-
How to use css in oracle forms
Hello, I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya
Hi
As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick). From there you subclass all of you forms items off these libraries.
Regards
Quintin -
Wikis are missing all css and images!
Hello,
I enabled the wikis today, but when I visit it:
http://tinyurl.com/34maae
there are no images or styling.
How can I fix this?
Thanks,
JamesJames,
I fear your post is slightly confusing - clicking on the tinyurl gives a group listing that appears quite normal.
It's possible that you have achieved this by downloading and installing the images etc. by hand but this really isn't the way to go. (Alternatively you may have solved the problem in which case please ignore the rest of this post)
The collaboration folder (which contains javascript, css and image files) is normally at
usr/share/collaboration
on your start up hard disc
and if it's NOT there I would worry about your system install.
If it IS there, a possible source of error is that the location of 'collaboration' is set as an alias in so that web pages can access it simply as 'http://www.website.com/collaboration'
So, I advise you check that you haven't amended this in some way.
Assuming that you have your server set up in Advanced Configuration you could do the following. If you have it as a Stardard or Workgroup config I fear I can't help you as I have no experience as to how the set the alias. Someone else should be able to advise. (Alternatively you COULD start editing the Apache files directly but I wouldn't advise it unless you feel happy doing that and any edit may well get overwritten anyway The relevant files are at etc/apache2/sites/)
Launch Server Admin, select web from the list of services in the left hand column and select the domain name from the list at the top - you may only have one.
Then select aliases from the horizontal list of radio buttons and see what it says for /collaboration, it should read
Alias /collaboration /usr/share/collaboration
Beyond that I don't know what to say.
Good luck -
Hello,
I've created a very basic layout with a header, some columns of text and an image. Everything is aligned perfectly, I've put all the text into rectangles, created a slice for the image, and nothing is overlapping. When I use the Export CSS and Images option, it just exports everything as one big image. What am I doing wrong here?
Thanks,
JasonSure, here you go:
http://www.glowfoto.com/static_image/07-130236L/8862/png/04/2010/img6/glowfoto -
CSS and Images - won't export behaviors
When I try to export as CSS and Images I get a message "Only slice images from the current state will be included in this export. Hotspot and Behavior attributes will be ignored".
I have tried to de-select the "Current States Only" check box but it is grayed out.
I have upgraded to the latest version. The about box says that I have version 10.0.3.11.
ThanksThe CSS and Images export option will not export any JavaScript based behaviors, so if you have buttons. rollovers, and image swaps then they will not work in the exported files.
For CSS and Images export, slices are only used to indicate what should be exported as bitmap graphics (e.g., JPEGs, GIFs), and you only need to put slices over the parts of the design that are graphics.
I'm not entirely sure why your export files are completely empty, but it sounds like you may not have completely identified what should be exported as a <div> and that you may not have placed slices over page elements that should export as graphics. Unless you have flattened your text to bitmaps, editable text objects should export as live HTML text.
If you can share or point to you file, we may be able to help.
Dave -
How to use Checkbox and radio buttons in BI Reporting
Hi BW Experts,
My Client has given a report in ABAP format and the report has to be develop in BI.It contains Check boxes and the radio buttons. I dont know how to use Checkboxes and radio buttons in Bex.For using this option, do we need to write a code in ABAP.Please help on this issue.
Thanks,
RamHi..
Catalog item characteristic
- Data element
- Characteristic type
Entry type
List of catalog characteristics
Designer
Format (character)
Standard characteristic
Alternative: Master characteristic
(used for automatic product
assignment)
Simple entry field
Alternatives:
Dropdown listbox or radio button
list -
I am using CSS and Javascript to display a div with an
embedded flash object in it. Mozilla Firefox reloads the flash file
when the div is displayed! (I dont want this to happen, as it's
unexpected functionality, my expectation would be that the flash
file would not change it's state at all, and would remain in
whatever state it was left in.)
I was wondering if anyone has come across this issue and is
there something I can do to prevent this from occurring?
To be more specific, I have a single HTML page with 8 flash
files embedded in it (yeah I know, it's a bit much). I am then
using CSS and Javascript to display (via a numbered link (with an
id)) an equivalent numbered div tag containing the flash file.
Mozilla Firefox reloads the flash object that is in the div.
Internet Explorer will not do this and will instead, load the flash
object only upon initial view of the flash object. All subsequent
links (in IE) will NOT reload the flash object on the page. I'm
guessing this is some kind of difference in the flash player as an
Active X object and the plugin, or is it just IE being clever? Or
am I way off?
Anyway, here is the code...I am using CSS and Javascript to display a div with an
embedded flash object in it. Mozilla Firefox reloads the flash file
when the div is displayed! (I dont want this to happen, as it's
unexpected functionality, my expectation would be that the flash
file would not change it's state at all, and would remain in
whatever state it was left in.)
I was wondering if anyone has come across this issue and is
there something I can do to prevent this from occurring?
To be more specific, I have a single HTML page with 8 flash
files embedded in it (yeah I know, it's a bit much). I am then
using CSS and Javascript to display (via a numbered link (with an
id)) an equivalent numbered div tag containing the flash file.
Mozilla Firefox reloads the flash object that is in the div.
Internet Explorer will not do this and will instead, load the flash
object only upon initial view of the flash object. All subsequent
links (in IE) will NOT reload the flash object on the page. I'm
guessing this is some kind of difference in the flash player as an
Active X object and the plugin, or is it just IE being clever? Or
am I way off?
Anyway, here is the code... -
In fire fox and google chrome CSS and images are not loading
I am facing problem with jrun, In IE-8 application is working fine, but in FireFox and Google chrome CSS and Images are not loading.
in fire fox and google chrome requests are Aborted.
thanks
Ashok Gadiparthi.Check if Style Resource Readers SharePoint group has permissions on the site, permissions to the style library and make sure that this library provides Style Resource Readers with restricted read.
If you don't see Style resource readers on the site, go to that library and set that permission. you could also just load your installation media to a folder, and execute on setup.exe, select repair option. This second option of the installation
media is the cannon vs. flyswatter approach though, but it will work
Stacy Anothersharepointblog.blogspot.com -
How to use perform and endperform in scripts
Can anybody cleaerly explains me how to use perform and endperform in scripts with an example to add something extra dynamically to the standard script (like rvorder01).
thanks in advance.
regards
anil.Check this example:
In form
PERFORM READ_TEXTS IN PROGRAM 'Z08M1_FORM_EKFORM1'
USING &EKKO-EKORG&
USING &EKPO-WERKS&
USING &EKKO-EKGRP&
USING &EKKO-BSTYP&
CHANGING &COMPNAME&
CHANGING &SENDADR&
CHANGING &INVCADR&
CHANGING &COMPADR&
CHANGING &COVERLTR&
CHANGING &SHIPADR&
CHANGING &REMINDER&
CHANGING &REJECTION&
CHANGING &POSTADR&
CHANGING &LOGO&
ENDPERFORM
In program
FORM READ_TEXTS TABLES IN_PAR STRUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA : L_EKORG TYPE EKORG,
L_WERKS TYPE WERKS_D,
L_BSTYP TYPE BSTYP,
L_EKGRP TYPE BKGRP.
READ TABLE IN_PAR WITH KEY 'EKKO-EKORG' .
CHECK SY-SUBRC = 0.
L_EKORG = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKPO-WERKS' .
CHECK SY-SUBRC = 0.
L_WERKS = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-EKGRP' .
CHECK SY-SUBRC = 0.
L_EKGRP = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY 'EKKO-BSTYP' .
CHECK SY-SUBRC = 0.
L_BSTYP = IN_PAR-VALUE.
CLEAR Z08M1_ORG_TEXTS.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = L_BSTYP.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM Z08M1_ORG_TEXTS WHERE EKORG = L_EKORG
AND WERKS = L_WERKS
AND EKGRP = L_EKGRP
AND BSTYP = SPACE.
ENDIF.
READ TABLE OUT_PAR WITH KEY 'COMPNAME'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COMP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SENDADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_ADRS.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'INVCADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_INVC.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COMPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_CPAD.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'COVERLTR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_COVR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'SHIPADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_SHIP.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REMINDER'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RMDR.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'REJECTION'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_RJCT.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'POSTADR'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_POST.
MODIFY OUT_PAR INDEX SY-TABIX.
READ TABLE OUT_PAR WITH KEY 'LOGO'.
OUT_PAR-VALUE = Z08M1_ORG_TEXTS-TXT_LOGO.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Check and let me know if u face any problem.
Regards
Maybe you are looking for
-
Can you sync 2 apple ID's for Find Iphone Application?
My Husband & I both have IPhone/IPad/IPod & MacBooks and we have seperate Apple ID's. We would both like to be able to access all the devices under the Find IPhone application, but I can only see my devices and he can only see his. Is there a way to
-
I have purchased Iphone 4 from US and its not having sim in it and rt now when i have updated this to io5 ,it is showing "sim card inserted in iphone is not supported" and i am not able access aything." Earlier i was able to use all application in th
-
Supress heades on background report
When I run a standard ALV report in the background, the spool list has header information after every page break. Is there a way to suppress this so that I have only the header information on the first page, and not on subsequent pages. This is cau
-
Nokia updater 1.8.10 can't recognize my N82
Hi I've a N82 @ Fw31, I tried all the solutions possible, including hard format the phone, switched off take out batteries and pressed power too, completely uninstall PC suite and Updater and runned Nokia cleaner, reboot system and intalled nokia upd
-
Patch for DST for Enterprise manager Grid on windows.
Hi All What is the patch I need to apply for DST for oracle enterprise manager grid control? plateform: windows server 2003 database: 10.2.0.2 let me know If you need more information. Thanks, Vishal