CF on server adding an /html tag to doc!

Hi all,
I'm not sure what the culprit is here. I'm looking at a file
on my localhost that renders fine. But when I push it to my live
server, it's got a big break between the header and body content
(which is a .cfm template include).
As far as I can tell, the problem is that the javascript
added on the server by CF is adding a </html> tag to the very
beginning of my file, causing the break.
Here's the code I see when there's a problem:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>Application</title>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="/CFIDE/scripts/cfform.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
function _CF_checkCFForm_1(_CF_this)
if (!_CF_hasValue(_CF_this.PID, "PASSWORD" ))
if (!_CF_onError(_CF_this, _CF_this.PID, _CF_this.PID.value,
"YOU MUST ENTER A VALID PID"))
return false;
return true;
//-->
</SCRIPT>
</head>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
Any ideas where this </html> is coming from?
Thanks!
Rick

Use CSS.
hr { margin:5px;padding:5px; }
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"DJDEL0530" <[email protected]> wrote in message
news:f4esuk$p8o$[email protected]..
> Hello All,
> Inserting a seperator bar using the "HTML" tab and
clicking the "hr" gives
> me
> a nice seperator.
> The page I'm talking about is
>
http://empdigital.net/boxingpreview/home_testv1.html
in the "Spnsors"
> column.
> I can't figure out how to control the amrgin above &
below the rule.
> Any help?
> thanks
>

Similar Messages

  • SCITE: adding projects - html tags (like jedit's clipper) snippets?

    Hi everyone!
    I really do like SciTe ... I really like JEdit though in all the tiling DMs jedit does only a small window regardless of how big the tile is... as you may know. There's some hack that might work so if anyone knows how to do the:
    [you can set the following environment variable (to use the older Motif backend instead): AWT_TOOLKIT=MToolkit.]
    that would be solution...
    Though really, I'd love to get scite doing projects... ie. simply open up a bunch of files at once etc.
    Also, in jedit there is an addon that is called: clipper... it's great as I can add html tags with a click... they're all there.
    Then my third wish for scite is to be able to have snippets available...  no a big one that as really, I'm useing scite to manage projects that are just text mostly. And, groups of css and html.
    ANY thought on jedit fix and how to do it... OR, potentially WAY better for me  >>> tricking out SciTe...???
    There's one extension for scite that needs ruby... may as well use jedit is I have to use ruby for a scite feature I think.
    thanks!
    Last edited by yvonney (2009-02-06 00:53:22)

    Hi skottish !!
    whew, thought about writing and have now found the info and the time....
    The info being where I actually put:
    export AWT_TOOLKIT=MToolkit
    FOR JEDIT: (using the latest 4.3r16 beta) Which is my option to SciTe as it has some amazing plugins, with projects and html tags in the 'clipper' plugin .... and ...the problem is with dwm my tiling wm is oes the..'weird sized windows' thing... seems to do this with many WMs and also with all java apps.... um, generally that is.... who knows quite the extent...
    long one short:
    I put:
    export AWT_TOOLKIT=MToolkit
    in both my ~/.bashrc        and also in  the file: /etc/environment
    and voila....very nice jedit!
    I've read that putting the same line in   /etc/profiles might be needed or useful for some things...
    Anyways.... riushing here...
    I love scite, have discovered anew Geany... and will be using jedit for my ridiculously simply collections of text files until something simple that covers the  projects grouping and the html tags thing i'd like to have.
    so!!!!!!
    best wishes....
    and now back to much crazy business again.... thanks for the fun break from it all!

  • Handle invalid html tag in the htmlText

    Hello,
    I"ve a <mx:text control which takes html text, it is a chat application, so, the client will simply concatinate the text comming through the network. But if the html text has invalid tags, it does not show the rest of the chat messages.
    I get something like
    <a href="http://google.com&quot;">http://google.com<a>
    here the red text is creating problems.
    P:S: you might want to say, handle it when sending from other client, but, we are dealing with legacy data, which has a lot of html format issues.

    Thanks for responding
    I understand that adding more HTML tags will change the font size. What I don't get is why it changed from one size to another by adding a HTML tag in the first place. I figured that it should have retained the same size it was without the tag when I added the tag. If I had added a font tag I would have excpected the font to change size but I added  a href.
    Sorry for the confusion.

  • Html tags added while exporting to csv

    Hi,
    I am facing issue of html tags got added to some columns while exporting report to the csv format.
    Can anyone help me for this .
    Thanks,
    Vivek

    The TextArea is being included in the csv file probably because it is added to the select query. The main report query has
    select apex_item.hidden(49,triagemd5_wptg||triagemd5_compare) || APEX_ITEM.CHECKBOX(34,triagemd5_wptg||triagemd5_compare) checksel, id,APEX_ITEM.SELECT_LIST(35, response, ''Will Fix;Will Fix,Will Not Fix;Will Not Fix,Not an Issue;Not an Issue'','''',''YES'','''','''') , APEX_ITEM.TEXTAREA(45,comments,0,0,''onMouseOver="title=this.value;" style="width:200px;font: 12px/16px Arial,sans-serif;height:50px; border:0 none; overflow:hidden"'')
    This was implemented like this because the no. in the 1st column of the API (eg. 45 for apex_item.textarea) is needed to write the values to DB. If the textarea and formatting is added as part of report column attribute then writing comments and response to DB will fail.

  • Help needed in adding effects of certain HTML tags in Flex spark Richtext

    I want to apply the effects of the following HTML tags/ attributes, in my HTML text rendered in Flex Spark Richtext Component.
    Superscript - <sup>
    Subscript - <sub>
    Blockquotes - <blockquotes>
    Ordered Lists - <ol><li>
    Unordered List - <ul><li>
    Horizontal Rule - <hr>
    Direction Attribute for <p> - <p dir="rtl">Hello</p>
    Background Color for <font>
    I have observed that the above tags have no effect in RichText. Is this a limitation?
    Any solutions, tweaks and tricks will be appreciated...
    Thanks,
    Mangirish

    check this out . this should be able to answer you question.
    http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_04.html
    Miguel

  • Issue with HTML tags visible in Outlook emails

    Hi everyone, I'm having an issue with a website I'm working on.
    On our site, we have a page that generates emails after certain events occur. These are sent to a forwarding address on our mail server, which is then sent to several users on our mail server. These users have their accounts set up in Outlook (one in 2007,
    one in Mac 2011).
    We're are having an issue where these emails are displaying in Outlook with all of the HTML tags in the email visible. One of the users spoke to Microsoft support, and they remoted in and went through their Outlook settings and were not able to find any issues
    there.
    This issue is not global exactly. When one of the users added their email to their iPhone, the email displayed correctly. We added a Gmail account and my work account (which I also access through Outlook) to the forwarding list, and it displayed correctly in
    both. When we view these emails in the server's webmail client, the emails display fine. The issue seems to be with some discrepancy between Outlook and our email server.
    I spoke to our webhost about the issue, and they swore up and down the issue had nothing to do with them, and that it had to be an Outlook issue. I've had several professional web developers analyze the code that creates these emails, and they found nothing
    wrong with it. Something that several of my colleagues and our webhost suggested is that the issue could be with the email headers. This is the header for the email, as viewed through Outlook:
    Return-Path: <[email protected]>
    X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on clubcrown.com
    X-Spam-Level: *
    X-Spam-Status: No, score=1.5 required=7.0 tests=HTML_MESSAGE,MIME_HTML_ONLY,
    NO_DNS_FOR_FROM,NO_RELAYS autolearn=no version=3.3.1
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: by x.com (Postfix, from userid 30)
    id 50F7123D9E; Tue, 11 Feb 2014 14:20:00 -0500 (EST)
    X-Original-To: [email protected]
    Delivered-To: [email protected]
    Received: by x.com (Postfix, from userid 10000)
    id EC28323DA2; Tue, 11 Feb 2014 14:19:58 -0500 (EST)
    To: [email protected]
    Subject: A wholesale order has been placed
    X-PHP-Originating-Script: 10000:thanks.php
    MIME-Version: 1.0
    Any help would be greatly appreciated. Let me know if more information is needed. Thank you.

    Glad to hear that you have found the solution. And thank you for sharing the solution here, it will be helpful to other community members who have same questions.
    Cheers,
    Steve Fan
    TechNet Community Support

  • How to add HTML tags to 'mailto' body

    i'm trying to figure out how to add font color and bold to an
    email body.
    i have the code working properly to build the email and drop
    the text in the correct locations. however, when i try to add the
    html tags to the process, it doesn't work.
    when i use the escape command to URLencode the input, it goes
    through and you can read the html tags in the email. if i don't
    escape the text/tags, the mailto command fails completely.
    dual 2.5 g5, 10.4.8, 3gig ram, plenty storage
    flash 8pro. ripping flash8 swf, actionscripting 2.0
    here's my current code:
    emailto =
    escape("[email protected],[email protected]");
    emailsub = escape("REQUEST - order");
    tempemailbody = "<B><FONT COLOR=\"#2B6EB5\">" +
    header + "</FONT></B>other text = " + somethingelse +
    "<br>";
    emailbody = escape(tempemailbody);
    emailvar = "mailto:" + emailto + "?subject=" + emailsub +
    "&body=" + emailbody;
    getURL(emailvar, "_blank");
    please advise.
    thanks in advance
    jason
    ps. i tried adding this post twice and it didn't appear in
    the topic list. sorry if the previous ones eventually go thru

    You can't send HTML email right from Flash. You will need to
    use a
    server-side script that adds the necessary headers into the
    email.
    Dave -
    Head Developer
    www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • BC won't allow me to insert code (scripts) between the /body and the /html tags.

    Hi guys,
    So I have this weird problem. I'm trying to insert some codes between the </body> and the </html> tags in the page templates. It's saving it. But if you check the page, the code is showing before the </body>, not after. Here's the code that I'm trying to insert.
    <script src="http://i.simpli.fi/dpx.js?cid=1534&action=100&segment=198566&m=1"></script>
    I have also tried adding this code by downloading the templates through ftp, adding the code, then uploading it to the server. Same thing. I even added type="text/javascript" in the code. Still no go. BC wouldn't insert it between </body> and </html>. Any ideas guys?
    - Jeff

    So an update.
    I was told by Adobe chat support to try adding the script after the body via javascript.
    So I added this before </head>
    <script type="text/javascript">
    var script = document.createElement('script');
    script.src = '//i.simpli.fi/dpx.js?cid=1534&action=100&segment=198566&m=1';
    script.type = 'text/javascript';
    $("html").append(script);
    </script>
    Still not working. Any ideas guys?

  • Is there any class in java named State .and also HTML tag

    while reading a code of Servlet
    I came across a class called State in the code which is added in the Vector
    vector.addElement(new State("instating"));
    I have never heared of this class.
    and also in the same code I came across This 2 tag's of HTML
    out.println("<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">");
    out.println("<a href=\"/lifecycle/servlet/freak\">Reload</a></p>");
    please if any one can explain me this tags as I don't know HTML.

    Thank for Gussing actually there is a method in the application which take String as a parameter.name of the method is createState(String message) .I thik they have written wrong code by adding State ("string")
    in the book .the book is from the WROX press the name of the book is
    Java server programming J2EE edition but so far there was'nt any mistake in the book.
    any what about those HTML tag.

  • How to use the HTML tags in the reports.

    hi.
    can any one tell me how to use the HTML tags in the reports.
    i m using the forms 10 g rel 2 and reports 10 g rel 2 and application server 10g rel 2.

    Set the Contains HTML Tags property of an object to Yes, then the tags in the object's text (if any) will be used to format the object.

  • In OAF restrict the richtext editor using html tags

    Hi Gurus,
    In my page Insert/Update I have requirement of Adding Comment. I have used MessageRichText for this Comment section. The data type of the corresponding Table column is CLOB.
    But while saving the entered comment, data is getting saved with HTML tags. .... :
    I have another search page that cannot have MessageRichText filed; only MessageStyledText field could be used to show the Saved Comment.
    As the data has been stored with HTML tags in DB Table, in the Search Page  it showing the Last Inserted Comment with HTML tag.
    I want to show the actual Comment entered without HTML tag.........how to do this??????
    Please help!!!!!!!!!!!!!!!!!!!!!!!!!1

    Hello cornelius.
    For one, you need to select RTF for message composition and not Plain Text.
    Select/highlight the text you want for the hyperlink and at the menu bar, go to Edit and select Add Hyperlink.
    Enter the URL in the space provided and be sure to include http://
    Select OK when finished.

  • XML with HTML Tags... (easy points) 11g question

    Dear Programming Gods,
    I have been researching this for about 2 weeks now, and I have hit the final road block.
    Using BI Publisher 11.1.1
    In APEX 4.0 I have a Rich Text Field. The data from the Rich Text Field is store in CLOB. The data has HTML formatting tags. I have a data model that selects the data. I create an xml which has the html tags. I export the xml and import it into MS Word using the BI Publisher add-in. I import my subtemplate which handles almost all of the formatting tags. I apply the template to the CLOB field so that the HTML formatting tags will be rendered when printed.
    The problem is this. The subtemplate is looking for this < and / > however BI publisher convters the tags stored in the CLOB from raw html tags to this &.lt; and &.gt; so the subtemplate can not match to it.
    Here is what I need to figure out and please explain it in very novice terms.
    When I generate and export the XML from BI Publisher how do I prevent it from converting my raw tags?
    Here is some further assistance when prepairing your answer.
    My subtemplate is based on the htmlmarkup.xsl from the following blog but has been modified heavily to include support for simple tables, more formatting such as subscripts and superscripts, ect...
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
    I am also familliar with this blog but I do not understand how to implement it using BI 11g.
    http://blogs.oracle.com/xmlpublisher/2009/08/raw_data.html
    I have tried adding this to my layout but it doesnt seem to work.
    <xsl: element name="R_CLOB" dataType="xdo:xml" value="R_CLOB" / >
    Please, help me. I have to have this working in 4 days.
    Richard

    This did not work either. Here's more infor on what I have so far.
    My data template looks like this:
    <dataTemplate name="Data" description="Template">
         <parameters>
              <parameter name="p_person_id" dataType="character" defaultValue="1"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
                                  select TEMPORARY_TEMPLATE_DATA.line_id as LABEL_line_ID,
    TEMPORARY_TEMPLATE_DATA.column_id as LABEL_column_ID,
    TEMPORARY_TEMPLATE_DATA.person_id as LABEL_PERSON_ID,
    TEMPORARY_TEMPLATE_DATA.label as LABEL_DATA
    from MY_BIO.clm_TEMPORARY_TEMPLATE_DATA TEMPORARY_TEMPLATE_DATA
    Where person_id = :p_person_id
    and style = 'L'
                             </sqlStatement>
              <sqlStatement name="Q2" parentQuery="Q1" parentColumn="LABEL_DATA">
                                  select TEMPORARY_TEMPLATE_DATA.LINE_ID as LINE_ID,
    TEMPORARY_TEMPLATE_DATA.COLUMN_ID as COLUMN_ID,
    TEMPORARY_TEMPLATE_DATA.label as COLUMN_LABEL,
    to_nclob(TEMPORARY_TEMPLATE_DATA.COLUMN_DATA) as  COLUMN_DATA,
    TEMPORARY_TEMPLATE_DATA.STYLE as STYLE,
    TEMPORARY_TEMPLATE_DATA.ATTRIBUTE as ATTRIBUTE,
    NVL(TEMPORARY_TEMPLATE_DATA.JUSTIFY,'L') as JUSTIFY
    from MY_BIO.clm_TEMPORARY_TEMPLATE_DATA TEMPORARY_TEMPLATE_DATA
    Where person_id =:p_person_id
    and label = :LABEL_DATA
    and style != 'L'
    Order by line_id, column_id
                             </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="G_LABEL" source="Q1">
                   <element name="LColumnData" value="label_data"/>
                   <group name="G_DATA" parentGroup="G_Label" source="Q2">
                        <element name="LineID" value="line_id"/>
                        <element name="ColumnID" value="column_id"/>
                        <element name="ColumnData" value="column_data"/>
                        <element name="Style" value="style"/>
                        <element name="Attribute" value="attribute"/>
                        <element name="Justify" value="justify"/>
                   </group>
              </group>
         </dataStructure>
    </dataTemplate>
    After running this data_template there was no change in the xml file generated see partial :  Note:
    my test actually has the B with the html tags
    </G_DATA>
    - <G_DATA>
    <LINEID>20</LINEID>
    <COLUMNID>1</COLUMNID>
    <COLUMNDATA>test test <B>my test</B></COLUMNDATA>
    <STYLE>R</STYLE>
    <ATTRIBUTE />
    <JUSTIFY>C</JUSTIFY>
    </G_DATA>
    - <G_DATA>
    <LINEID>21</LINEID>
    I loaded in to MS Word but there was no change documnet still look the same. I left the commands import file command and xsl:apply-templates command in the word document template.
    I really appreciate you helpiing me.
    cheryl

  • Embedding html tags within a report

    I have an interactive report in which I'd like to indicate new table entries.
    I have a case statement on a column that checks the date that the entry was added and if it was added recently I concatenate a gif to the column value which indicates "New" entry. This works great in a standard report but when I add the code snippet to an interactive report it displays the html img tag rather than the actual image. Can anyone tell what I need to do to cause the report to render the image rather than just display the html tag?
    Thanks.

    Hello,
    In your Report Attributes, make sure that your columns Display Text As is set to Standard Report Column. I expect it's set to display as text?
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • Wls 8.1 sp2: weblogic.jspc complains about struts-html tags

              Hi,
              I am trying to compile jsps with weblogic.jspc, which use struts' html tags. However,
              the compilation fails with the following message:
              [java] Translation of /views/viewPageBody.jsp failed: (line 3): Error in using
              tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
              has no setter method corresponding to TLD declared attribute 'server', (JSP 1.1
              spec, 5.4.1)
              I opened the BaseTag class from the struts jar and found the setter exists for
              the attribute 'server' of html tld. So does the property 'server'. The property
              'server' is a string and the parameter in the setter is a string. I read about
              the jspc errors in wls 8.1 about the setter parameter being of different type
              than the property. However, that is not the case here. I tried using both Sun's
              and BEA's jdk. None of them help. Btw, there is another attribute mentioned in
              the html tld, which is 'target'. The compiler doesn't complain yet about this.:(
              Also, I happened to compile other apps which have struts logic tags.
              My environment:
              OS: Win2k sp3
              WLS: 8.1 sp2
              JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
              Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
              without any mention supports only ant 1.5.3.)
              I would appreciate any help in this regard.
              Thanks,
              Abbas
              

              What version of Struts are you trying to use?
              Are you certain you're not encountering a different instance of that class in
              an unexpected location in your classpath?
              "Abbas" <[email protected]> wrote:
              >
              >Hi,
              >I am trying to compile jsps with weblogic.jspc, which use struts' html
              >tags. However,
              >the compilation fails with the following message:
              >
              >[java] Translation of /views/viewPageBody.jsp failed: (line 3): Error
              >in using
              >tag library uri='/tags/struts-html' prefix='html': The Tag class 'org.apache.struts.taglib.html.BaseTag'
              >has no setter method corresponding to TLD declared attribute 'server',
              >(JSP 1.1
              >spec, 5.4.1)
              >
              >I opened the BaseTag class from the struts jar and found the setter exists
              >for
              >the attribute 'server' of html tld. So does the property 'server'. The
              >property
              >'server' is a string and the parameter in the setter is a string. I read
              >about
              >the jspc errors in wls 8.1 about the setter parameter being of different
              >type
              >than the property. However, that is not the case here. I tried using
              >both Sun's
              >and BEA's jdk. None of them help. Btw, there is another attribute mentioned
              >in
              >the html tld, which is 'target'. The compiler doesn't complain yet about
              >this.:(
              >Also, I happened to compile other apps which have struts logic tags.
              >
              >
              >My environment:
              >OS: Win2k sp3
              >WLS: 8.1 sp2
              >JDK: Sun's 1.4.2 sp4 / Bea's 1.4.1 sp5 (tried both)
              >Ant: 1.5.3 (I had an issue earlier with ant until I found that Bea officially
              >without any mention supports only ant 1.5.3.)
              >
              >I would appreciate any help in this regard.
              >
              >Thanks,
              >
              >Abbas
              

  • When Exported in PDF reports displays HTML Tags

    Hi All,
    Business Object XI R2
    WebI Report
    I am Reporting on Oracle CLOBs. This CLOB contains Data with HTML Tags, Clearly this CLOB is the combination of DATA formatted in HTML tags.
    When I create a WebI Reports on this (CLOB) WebI displays correctly in the sence data only.
    When I export this report to PDF; The PDF display contains both data with HTML tags as well.
    Is there any solution/workaround or any setting in the BO Server to overcome/solve this issue.
    Appreciated you prompt help.
    Thanks,
    Ashok

    Christine,
    My question is wether Adobe support CLOBs or not.
    I was reported on oracle CLOBs (This CLOBs contains data wrapped in HTML tags), by using Business Object Web Intelligence. This WebI displaying the reports as I desire, there is no problem, in WebI. WebI displaying data with no HTML Tags.
    My problem is that when I export this WebI report, this Adobe is getting HTML tags, why? Since this WebI is not displaying the HTML tags, since adobe does not know wether there is a HTML tags or not.
    Apprecited your prompt reply.
    Thanks,
    Ash

Maybe you are looking for

  • Can't Log into my Firm's ExtraWeb! Is Boot Camp/XT the Answer?

    I was very disappointed when I got the following message after trying to log into my firms' Lotus Notes-based system (IBM) over the web using my MBA (as opposed to my firm's "standard issue" Dell): "You can not be granted access to ExtraWeb because y

  • Exporting to PNG, need to get rid of "transparent background"

    Hi all, Just trying out Freehand as a solution for creating images for CafePress. I get it all set for 10" X 10", export it to a PNG file and upload it to CafePress. When I try to create a product there, the image is no longer 10" X 10", it is only t

  • Help with DW pop-up window

    I am trying to get a po-up window when someone clicks the link on my site. I am not sure that I am doing this right. I created the pop-up using Behaviors but the link comes up in the main window as well as the pop-up. Here is the link if someone does

  • How can i store image into blob field in oracle express ??

    Hi am using oracle express *(2.1)* , i am devloping a small system , we have to store an image in blob filed in a table, we have to create a form which allow the user to store the image in the table and to generate a report contains the image any not

  • "Phone is not authenticated"

    I just got my iphone 4s today and texting, web, wireless internet works but I can't get calls or make any calls. When I try to make a call it says "Im sorry but your phone can not be authenticated" why?? I have service, and I've tried turning it off