Formatting HTML
Why are the HTML Table Cell Attributes limited to bgcolor? I tried cellpadding=10 and border=1 and they had no effect. Doesn't seem like coding would be too complicated for this.
Bill,
The attributes you mentioned are table attributes and have no effect within <td> tags. You can specify other <td> attributes in the HTML Table Cell Attributes field, e.g, "nowrap". You should be able to get the exact formatting you want using the style attribute in either the HTML Table Cell Attributes field or the HTML Form Element Attributes field, depending on whether you're formatting the whole cell or individual form elements, e.g., style="padding:10px 0px 0px 10px;",
Scott
Similar Messages
-
Formatted HTML output with Spry regions - is it possible?
I have recently begun using the XML export extension in
conjunction with an Access database to output dynamic data into a
page with a Spry master/detail setup. So far, my simple example is
going great, but I've run into a snag that I need some help with.
To explain what I'm doing - it's a simple article page with
the list of articles on the left with the title and date and the
article title and full contents on the right hand side. So far it's
all working very well, updating in real time when I click an
article title on the left. The problem is the output with this one
field which stores not only text, but also HTML formatting that is
generated by a wysiwyg editor used on the article creation side of
this little app. This HTML formatted content is the article body
and is stored in a field named the same - "body". With traditional
ASP, the HTML formatting displays as expected and all is well, but
with Spry, it doesn't output formatted HTML, but instead shows the
content and HTML code together as text. How can I get this one
field ("body") to be output so all the HTML formatting is shown?
This is my simple page example. Click through and you'll see
what I mean.
http://www.shoestodyefor.com/ajax.asp
Here's the section of code in question regarding the output
on that right hand panel where the body is displayed for each
article:
<div spry:detailregion="ds1">
{title}<br />
{entryDate}<br />
<br />
{body}
/div>
Is it possible to have that {body} section shown so the
dynamically created HTML code from the wysiwyg editor is displayed
correctly?Steve Skinner wrote:
> Is it possible to have that {body} section shown so the
dynamically created
> HTML code from the wysiwyg editor is displayed
correctly?
The version of Spry that ships with Dreamweaver CS3 (Spry
1.4) doesn't
support the type of output created by the XML Export
extension.
This issue has been corrected in Spry 1.5, but no plans have
been made
public for integrating Spry 1.5 into Dreamweaver CS3. You
would need to
download Spry 1.5 from
http://labs.adobe.com/technologies/spry/.
Details
of how to hand-code the fix for output from XML Export are
here:
http://labs.adobe.com/technologies/spry/samples/data_region/HTMLFragsInXMLSample.html
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
CFGRID format=HTML not working in IE8
I'm using Cold Fusion 10 and trying a cfgrid and it does not work in IE8. It works perfectly in FF, of course. :-).
It IS within a Cfform in my .cfm file. Even when I take it down to it's simplest form to try to debug it doesn't work, but here is my original code:
<cfgrid name = "FirstGrid"
height="200" width="700"
font="arial" fontsize="12"
query = "Getdates"
SORT="Yes"
selectmode="edit"
format="html"
>
<CFGRIDCOLUMN NAME="anumber" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="No" DISPLAY="No"
HEADERBOLD="No" HEADERITALIC="No">
<CFGRIDCOLUMN NAME="schoolyear" HEADER="School Year"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="Yes" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="Yes">
<CFGRIDCOLUMN NAME="doh" HEADER="Date of Hire"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="No" type="date">
<CFGRIDCOLUMN NAME="leavedate" HEADER="Leave Date"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
FONT="Times" BOLD="No"
ITALIC="No" SELECT="Yes"
DISPLAY="Yes" HEADERBOLD="No"
HEADERITALIC="No">
<CFGRIDCOLUMN NAME="Returnfromleavedate" HEADER="Return From Leave Date"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="No">
<CFGRIDCOLUMN NAME="terminatedresignedretireddate" HEADER="Terminated/Resigned/Retired"
HEADERALIGN="LEFT" DATAALIGN="LEFT"
BOLD="No" ITALIC="No"
SELECT="Yes" DISPLAY="Yes"
HEADERBOLD="No" HEADERITALIC="No">
</cfgrid>
Thanks for any help!
B.Sorry, I should have used the code tags. Let me ask that again.
I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
<b>some bold text</b>and I am using
<xsl:apply-templates select="PARAGRAPH_TEXT"/>in my RTF template to process the data using the stylesheet to convert it to
<fo:inline font-weight="bold">some bold text</fo:inline>The HTML tags are corrrectly resolved when using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to the HTML tags in the output XML being generated as e.g. <b> instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting e.g. <b> in the XML instead of <b> -
Formatting html file for an explain plan.
Hi,
I would like to create a formatting html file for an explain plan.
Oracle 11.2.0.3 on Linux.
I can't use DBMS_XPLAN.DISPLAY_PLAN beacuse I get the info from the memory cursor and and I can't set the statement_id.
How can I do that?user10931224 wrote:
Hi,
I would like to create a formatting html file for an explain plan.
Oracle 11.2.0.3 on Linux.
I can't use DBMS_XPLAN.DISPLAY_PLAN beacuse I get the info from the memory cursor and and I can't set the statement_id.
How can I do that?
does SQL_ID reside within AWR repository? -
Forgot how to format HTML in Text Area
Hello all,
I totally forgot something. How do you format HTML when rendering in Text area
Suppose I pass in a string that a text area grabs for display.
xxx.getAdditionalComments(existingComments + "\n" + "<B>" + date + "<\B> " + name);The text are will always display the <B> instead of displaying the date in bold.
I remember putting escape characters eons ago but I forgot how that worked. Anyone know how to render this with date being bolded?
Thanks.If you mean the textarea HTML tag for text entry fields, you don't. If you forgot anything it's that you can't do things like that.
-
Need Formatted html output from Xalan
We use xalan xslt processor to convert
xml document to html. Everything works
fine, except the output is unformatted html.
(ie. several HTML elements appear on the
same line. Some lines are longer than 1000
characters). This happens inspite of me
specifying the HTML elements in different
lines in the xsl.
I would like to know if there is any way, I can generate formatted html output.
Thankshave u tried
<xsl:output indent="yes"/>
in your stylesheet?
ravi <[email protected]> wrote:
We use xalan xslt processor to convert
xml document to html. Everything works
fine, except the output is unformatted html.
(ie. several HTML elements appear on the
same line. Some lines are longer than 1000
characters). This happens inspite of me
specifying the HTML elements in different
lines in the xsl.
I would like to know if there is any way, I can generate formatted html
output.
Thanks -
Displaying formatted HTML : URGENT
Hi,
I have a RFC that gives as output formatted HTML to my webdynpro view and i need to display the same.
Now the IFrame in Webdynpro takes only static HTML and i cannot pass a string array of HTML's to it.
Can any one tell me how to make this work.
The only workaround that i can think of it to point the iFrame to a jsp and display the html inside the jsp.
Regards,
BalajiHi Balaji,
you don't need a JSP, a servlet is sufficient, if the HTML data represents a complete HTML page, not only a fraction. Here's one possible way to achieve this:
1. Store the HTML data in a file accessable by the servlet.
2. Construct an URL to the servlet with at least one parameter pointing to the created file.
3. Set this URL as the IFrame's source property. The IFrame "calls" the servlet.
4. The servlet transports the data from the file specified in it's parameter list.
Hope that helps.
Regards
Stefan
PS: The IFrame UI element is no HTML viewer, so it's no surprise that you can't pass HTML data directly to it. -
Hi,
I use LabVIEW to generate reports using HTML file. These reports contain plots, images, tables, and blocks of text. I would ideally like to format everything in LabVIEW so I dont have to do any post-processing of the document.I would like to make certain portions bold, underlined and vary the font size. I can align certain parts such as the headers at the top of the page and the footers but that is it. I would like to have more control over the alignment of words, titles, paragraphs and images in the report. However, I have not been able to figure this out. I have a feeling that I need to the "Append User Formatted HTML to Report VI" but I have not been able to using this correctly apparently.
Any ideas?
Thanks
Solved!
Go to Solution.I stand corrected. May be I do not have the coding knowledge I require. Thanks for the help. I will check out that link a bit more.
-
hello i am student and i program a aplication same PowerPoint and i need to save the presentacion in format HTML. I kwon how i do create a file HTML, but how my aplication have a slides(JPanel) with text and figures that circle, rectangle, line and elipse, then HTML dont permit draw figures i need to transform the JPanel in a image, to put all to have the JPanel in one image to put in file HTML.
How i can do this?
thanks Rafaelbut the user cant see the slide because not all user have installed java in his computer, then cant see the applet
-
I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
<b>some bold text</b>
and I am using
<xsl:apply-templates select="PARAGRAPH_TEXT"/>
in my RTF template to process the data using the stylesheet to convert it to
<fo:inline font-weight="bold">some bold text</fo:inline>.
The HTML tags are corrrectly resolved using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to HTML tags in the output XML being generated as <b> instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting <b> in the XML instead of <b>.Sorry, I should have used the code tags. Let me ask that again.
I have HTML formatted data stored in VARCHAR2 columns on the database for which I am using a stylesheet to format into XSL-FO to resolve the HTML tags. For example, my data template populates a field PARAGRAPH_TEXT with content such as
<b>some bold text</b>and I am using
<xsl:apply-templates select="PARAGRAPH_TEXT"/>in my RTF template to process the data using the stylesheet to convert it to
<fo:inline font-weight="bold">some bold text</fo:inline>The HTML tags are corrrectly resolved when using the BI Publisher Word add-in and the output is correctly rendered in bold text but this does not happen when running on the server in an E-Business Suite environment due to the HTML tags in the output XML being generated as e.g. <b> instead of <b>. Has anybody experienced this and, more importantly, can anybody suggest a way of getting e.g. <b> in the XML instead of <b> -
How to display formated html in a TextArea?
Hi,
I'm trying to display some html in a TextArea. But the formatting does not look good.
here is my mxml file
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"
width="100%" height="100%">
<mx:TextArea id="legend"
width="100%" height="100%" editable="false" selectable="false" toolTip="map legend" wordWrap="true">
<mx:htmlText>
<![CDATA[
<p><img src="images/projects.png" /> projects</p>
<p><img src="images/publications.png" /> pubpcations</p>
<p><img src="images/persons.png" /> persons</p>
<p><img src="images/news.png" /> news</p>
<p><img src="images/events.png" /> events</p>
<p><img src="images/documents.png" /> documents</p>
]]>
</mx:htmlText>
</mx:TextArea>
</mx:Panel>
and here is the result...
Any idea what I am doing wrong?I had problems like what you are describing. A picture is worth a thousand words, so take a lookee here: http://www.timos.com/timos/green/ct/CounterThink.cfm. When the app displays, press the link button "About CounterThink", then scroll down to the text block with Mike Adams' photo.
My problems were fixed when I eliminated all the spaces in the HTML code. My source code for that block now looks like this:
<p><img src="../../assets/images/green/mike.png" alt="Mike Adams" width="150" height="149" hspace="5" vspace="3" align="left" />The creator of the cartoons, <b>Mike Adams</b> is a consumer health advocate with a mission to teach personal and planetary health to the public He is a prolific writer and has published thousands of articles, interviews, reports and consumer guides, impacting the lives of millions of readers around the world who are experiencing phenomenal health benefits from reading his articles. Adams is an honest, independent journalist and accepts no money or commissions on the third-party products he writes about or the companies he promotes.</p><p></p><p>In 2007, Adams launched EcoLEDs, a manufacturer of mercury-free, energy-efficient LED lighting products that save electricity and help prevent global warming. He's also a successful software entrepreneur, having founded a well known email marketing software company whose technology currently powers the NaturalNews email newsletters.</p><p></p><p>Adams is currently the executive director of the Consumer Wellness Center, a 501(c)3 non-profit, and regularly pursues cycling, nature photography, Capoeira and Pilates. Known as the 'Health Ranger', Adams' personal health statistics and mission statements are located at <a href=http://www.healthranger.org target="_blank"><u>www.HealthRanger.org</u></a>.</p>
Notice there are no indents, no line breaks, not a single space except for those within the text. The code is a little harder to read this way, but that is what worked. Try it, I hope this works for you. Have fun,
Carlos -
Formatting html page in 6i/9i
I have a report that generates three pages in PDF. Is there a way I can output this
report in HTML format, which shows "NEXT" button on each page to take me to the
2nd and 3rd page?
thanks in advance for any input.Assuming these reports are being run from the web (rwservlet), you can change the desformat to HTML (or HTMLCSS)
and add PAGESTREAM=YES to the url. This will give you pagination for your report being run in HTML. Your url should look something like this:
http://mycompany.com/reports/rwservlet?report=myrep.rdf&destype=cache&desformat=HTML&PAGESTREAM=YES&userid=hr/hr@xe -
How to format html output of a servlet
Hello.
My servlet/JSP is processed by custom tags and XSL Translation.
After all its HTML output looks not formatted.
How to format it?
It is possible in a standard way (using a web.xml'd directive)?
What roughly I want:
<html>
<body>
<body>
<html>I'd try
indent="yes" in your XSLT's<xsl:output .../>element.
Hope this helps,
-Scott -
Formatting html for printing-urgent
I want to print an html/jsp page from the browser by removing unneccessry images and irrelevant information
If the user select print option on the page then the page should be formatted accordingly so that only relevant the data is shown.It should fit on A4 size paper.
Hint: if u have been to developer.java.sun site then there is an option printable page or print view option on the left
On selection of this u get to see a page where unnecessary data is not shown.
if u see the link , then it actually calls printpageservlet .
Can u give source code for PrintPageServlet
There are many sites which have this facilty.
Reply asap. this is urgentYou can write the same jsp page which does not output the unnecessary conents for printing.
If the client is IE you can use
<STYLE MEDIA="PRINT">
span.notPrint{
display:none;
</STYLE>
<BODY>
Print display this... <span class="notPrint"> Display this, but do not print</span>
</BODY> -
AIA Error Notification Format : HTML Tags
Hi All,
I am trying to customize the AIA Error notifications in AIAEHNotification.xml file to include the html tags such as <font color="blue"> etc. to change the look of the error message. But the same is not getting reflected in the error emails I receive.
I'm sure the file AIAEHNotification.xml is getting updated as I can see my updated content every time but not html formatted in any case.
Does default AIA Error handler support HTML tags inside the email body message or it just uses <pre> by default before sending the notification?
AIA 3.0
SOA Suite 11.1.1.3
Regards,
Neeraj sehgalNeeraj,
html tags are not supported in the AIA EH notification framework as of now and I am not aware of any plans to support this in any of the next releases.
Gerhard
Maybe you are looking for
-
I need help with my for loop in this array
Ok well, I can't get my code to work. Also, please remember that this is just my draft so it isnt pretty. I will fix it up later so please look at it. The thing I want to do is look into the array for a time that matches what the user entered and ret
-
SharePoint 2010 List View Web Part not showing for read-only users?
Hello all, I have List View Webparts on my Blank Web Part page, and it's not showing for Read-Only users. Is this intended by Microsoft or is it a bug? Thank you!
-
HT202213 how do you get it to show up in the sidebar again, after setting it up?
how do i get home sharing to tapear agian in the toolbar, after i set it up?
-
Quicktime doesn't work after Itunes install
After installing Itunes 7.0.2, I suddenly can't view Quicktime files. I had Quicktime installed before, but obviously it was overwritten when I installed Itunes. Now, when I attempt to view any .mov files, the audio is played, but the video is a scra
-
I made a movie in imove HD. I burned it using idvd. On the finished product, it keeps playing a movie even though the movie is finished. The screen is BLACK, the counter keeps running. This happens for about 5 minutes, then it goes back to the main m