DOCTYPE html PUBLIC

Hi,
When I put this on the header of my page template de images of my css desapear.
header of my page template:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Line in the css file:
.tdefpage td.C{background:url(GF_cx_banner.png) repeat -x; height:111;}
Help.
Thanks

The DOCTYPE switches the browser to standards mode, which is less forgiving of errors.
In CSS, units must be specified: try height: 111px.

Similar Messages

  • Invalid logging line: !DOCTYPE html PUBLIC "-//W3C//DTD XHTM error

    Hi..
    I am getting the following error while deploying a bpel process cantaining java embedding on weblogic server 11g.
    [04:31:54 PM] Received HTTP response from the server, response code=200
    [04:31:54 PM] Invalid logging line: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    [04:31:54 PM] Invalid logging line: <html xmlns="http://www.w3.org/1999/xhtml">
    [04:31:54 PM] Invalid logging line: <head>
    [04:31:54 PM] Invalid logging line: <title>GE | Web Site Verification</title>
    [04:31:54 PM] Invalid logging line: <style type="text/css">
    [04:31:54 PM] Invalid logging line: <!--
    [04:31:54 PM] Invalid logging line: body
    [04:31:54 PM] Invalid logging line: {
    [04:31:54 PM] Invalid logging line:      font-family:Arial, sans-serif;
    [04:31:54 PM] Invalid logging line:      font-size: 11px;
    [04:31:54 PM] Invalid logging line:      color: #666666;
    [04:31:54 PM] Invalid logging line:      margin: 0px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: a {
    [04:31:54 PM] Invalid logging line:      color:
    [04:31:54 PM] Invalid logging line: #3B73B9;
    [04:31:54 PM] Invalid logging line:      text-decoration:none;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: a:hover {
    [04:31:54 PM] Invalid logging line:      text-decoration:underline;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #container {
    [04:31:54 PM] Invalid logging line:      width: 720px;
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: height: 524px;
    [04:31:54 PM] Invalid logging line:      margin: 0 auto;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #header {
    [04:31:54 PM] Invalid logging line:      margin: 0;
    [04:31:54 PM] Invalid logging line:      width: 720px;
    [04:31:54 PM] Invalid logging line:      position:relative;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #header .logo{
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: padding-top: 28px;
    [04:31:54 PM] Invalid logging line:      width: 170px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #content {
    [04:31:54 PM] Invalid logging line:      overflow:hidden;
    [04:31:54 PM] Invalid logging line:      width: 720px;
    [04:31:54 PM] Invalid logging line:      height: 325px;
    [04:31:54 PM] Invalid logging line:      border-bottom:
    [04:31:54 PM] Invalid logging line: 1px solid #CCCCCC;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #content .left_column {
    [04:31:54 PM] Invalid logging line:      width: 424px;
    [04:31:54 PM] Invalid logging line:      float:left;
    [04:31:54 PM] Invalid logging line:      height:325px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #content .right_column {
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: float:left;
    [04:31:54 PM] Invalid logging line:      width: 296px;
    [04:31:54 PM] Invalid logging line:      height: 325px;
    [04:31:54 PM] Invalid logging line:      background-color:#FFFFFF;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #excerpt
    [04:31:54 PM] Invalid logging line: {
    [04:31:54 PM] Invalid logging line:      font-size:12px;
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: font-weight:bold;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: /*STYLE FOR SSO REMEMBER CHECKBOX*/
    [04:31:54 PM] Invalid logging line: input.checkbox {
    [04:31:54 PM] Invalid logging line:      margin: 0 3px 0 0;
    [04:31:54 PM] Invalid logging line:      padding:0;
    [04:31:54 PM] Invalid logging line:      border:0px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: /*STYLE FOR SSO REMEMBER LABEL*/
    [04:31:54 PM] Invalid logging line: label.inlineLabel{
    [04:31:54 PM] Invalid logging line:      position:relative;
    [04:31:54 PM] Invalid logging line:      top:-2px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: input {
    [04:31:54 PM] Invalid logging line:      font-size:10px;
    [04:31:54 PM] Invalid logging line:      border: 1px solid #BFBFBF;
    [04:31:54 PM] Invalid logging line:      padding-top: 1px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: .field {
    [04:31:54 PM] Invalid logging line:      width: 148px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #ssosubmit {
    [04:31:54 PM] Invalid logging line:      background-image:
    [04:31:54 PM] Invalid logging line: url(https://www.ge.com/security_proxy_sign_on/btn-sign-in.png);
    [04:31:54 PM] Invalid logging line:      width: 75px;
    [04:31:54 PM] Invalid logging line:      height:30px;
    [04:31:54 PM] Invalid logging line:      background-color:
    [04:31:54 PM] Invalid logging line: #3B73B9;
    [04:31:54 PM] Invalid logging line:      border: none;
    [04:31:54 PM] Invalid logging line:      margin-top: 10px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #footer {
    [04:31:54 PM] Invalid logging line:      height:117px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #footer p{
    [04:31:54 PM] Invalid logging line:      margin:0px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #footer ul{
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: margin: 0px;
    [04:31:54 PM] Invalid logging line:      padding: 10px 0px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: #footer li{
    [04:31:54 PM] Invalid logging line:      list-style-image:none;
    [04:31:54 PM] Invalid logging line:      list-style-type:none;
    [04:31:54 PM] Invalid logging line:      padding-right: 5px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: .why_desc{
    [04:31:54 PM] Invalid logging line:      padding: 0px 0px 10px 10px;
    [04:31:54 PM] Invalid logging line:      margin: 0px;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: .why_title{
    [04:31:54 PM] Invalid logging line:      font-weight:bold;
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line: -->
    [04:31:54 PM] Invalid logging line: </style>
    [04:31:54 PM] Invalid logging line: <script>
    [04:31:54 PM] Invalid logging line: function show_lang(section) {
    [04:31:54 PM] Invalid logging line:      document.getElementById('excerpt_EN').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('excerpt_SCN').style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById('excerpt_FR').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('excerpt_ES').style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById('excerpt_DE').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('excerpt_IT').style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById('excerpt_JP').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('footer_EN').style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById('footer_SCN').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('footer_FR').style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById('footer_ES').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('footer_DE').style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById('footer_IT').style.display = "none";
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById('footer_JP').style.display = "none";
    [04:31:54 PM] Invalid logging line:      var excerpt = "excerpt_" + section;
    [04:31:54 PM] Invalid logging line:      var footer="footer_"+
    [04:31:54 PM] Invalid logging line: section;
    [04:31:54 PM] Invalid logging line:      document.getElementById(excerpt).style.display = "block";
    [04:31:54 PM] Invalid logging line:      document.getElementById(footer).style.display
    [04:31:54 PM] Invalid logging line: = "block";
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line: function show(section) {
    [04:31:54 PM] Invalid logging line:      var excerpt = "excerpt_" + section;
    [04:31:54 PM] Invalid logging line:      var full_text = "full_" + section;
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById(excerpt).style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById(full_text).style.display = "block";
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: function hide(section) {
    [04:31:54 PM] Invalid logging line:      var excerpt = "excerpt_" + section;
    [04:31:54 PM] Invalid logging line:      var full_text = "full_" + section;
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: document.getElementById(full_text).style.display = "none";
    [04:31:54 PM] Invalid logging line:      document.getElementById(excerpt).style.display = "block";
    [04:31:54 PM] Invalid logging line: }
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: /** BEGIN SCRIPS FOR REMEMBER SSO IMPLEMENTATION **/
    [04:31:54 PM] Invalid logging line: function rememberSSOID(){
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line:      if (document.SSOForm.saveID.checked){
    [04:31:54 PM] Invalid logging line:           saveSSOID();
    [04:31:54 PM] Invalid logging line:      } else {
    [04:31:54 PM] Invalid logging line:           clearSSOID();
    [souhaitez continuer sur ce site.
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: Pour en savoir plus
    [04:31:54 PM] Invalid logging line: sur le processus de protection de l'accès Internet GE, consultez les informations ci-dessous.</p>
    [04:31:54 PM] Invalid logging line:      <p id="excerpt_ES"
    [04:31:54 PM] Invalid logging line: style="display:none">La página a la que intenta acceder no es un sitio web de confianza de GE. Para protegerlo a usted y
    [04:31:54 PM] Invalid logging line: a la Compañía, por favor, seguidamente inicie sesión para confirmar que desea continuar en este sitio. Para
    [04:31:54 PM] Invalid logging line: obtener más datos respecto de la protección al acceso a Internet de GE, consulte la información que aparece
    [04:31:54 PM] Invalid logging line: debajo.</p>
    [04:31:54 PM] Invalid logging line:      <p id="excerpt_JP"
    [04:31:54 PM] Invalid logging line: style="display:none">アクセスしようとして
    [04:31:54 PM] Invalid logging line: いるサイトはGEが信賴していな
    [04:31:54 PM] Invalid logging line: いウェブサイトです。自身と
    [04:31:54 PM] Invalid logging line: 会社を守るため、下記にログ
    [04:31:54 PM] Invalid logging line: インしてこのサイトを続けて
    [04:31:54 PM] Invalid logging line: 閲覧することを確認してくだ
    [04:31:54 PM] Invalid logging line: さい。 GE のインターネットアクセス保
    [04:31:54 PM] Invalid logging line: 護プロセスについての詳細は
    [04:31:54 PM] Invalid logging line: 、下記を参照してください。
    [04:31:54 PM] Invalid logging line: </p>
    [04:31:54 PM] Invalid logging line:      <p id="excerpt_DE" style="display:none">Die Website,
    [04:31:54 PM] Invalid logging line:           <li>
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line:      </ul>
    [04:31:54 PM] Invalid logging line: </div>
    [04:31:54 PM] Invalid logging line: <div id="footer_JP" style="display:none">
    [04:31:54 PM] Invalid logging line: <p><img
    [04:31:54 PM] Invalid logging line: src="https://www.ge.com/security_proxy_sign_on/more-information.png"></p>
    [04:31:54 PM] Invalid logging line:      <ul>
    [04:31:54 PM] Invalid logging line:           <li>
    [04:31:54 PM] Invalid logging line:
    [04:31:54 PM] Invalid logging line: <div id="excerpt_one_JP"><a href="javascript:show('one_JP')
    [04:31:54 PM] Invalid logging line: name="why_title">このページにアクセスする理由</a></div>
    [04:31:54 PM] Invalid logging line:                     <div id="full_one_JP" style="display:none;">
    [04:31:54 PM] Invalid logging line:                          <p><a
    [04:31:54 PM] Invalid logging line: href="javascript:hide('one_JP')"
    [04:31:54 PM] Invalid logging line: name="why_title">このページにアクセスする理由</a></p>
    [04:31:54 PM] Invalid logging line:                          <p
    [04:31:54 PM] Invalid logging line: class="why_desc">GE の企業情報を保護することは
    [04:31:54 PM] Invalid logging line: 最優先事項です。
    [04:31:54 PM] Invalid logging line: この情報は、物理的、電子的、手
    [04:31:54 PM] Invalid logging line: 続き上のセーフガード(この認証
    [04:31:54 PM] Invalid logging line: ページ等)により保護されます。
    [04:31:54 PM] Invalid logging line: このページは、アクセスしている
    [[04:31:54 PM] ---- Deployment finished. ----

    Hi:
    R u behind a Proxy?
    If it so, u can configure it at JDEveloper in the Tools->Preferences->Web Browser and Proxy section.
    Or u can deploy ur composite, directly in Enterprise Manager - Fusion Middleware Control.
    thx
    best

  • DOCTYPE html PUBLIC  HELP!!!!

    I use front page to create web pages, but my pages don't get recognized by Google and MSN. I was told that my page's beginning code isn't right. Meaning, my pages start with the coding (see below) using FrontPage 2002
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
    And I see most other pages coding start with (see below)
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    And sometimes with this additional code below
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    However, when I try to use either of the above coding, my pages come out with extra spacing between lines which makes my pages look dumb. What can I do to get my pages recognized by Google and MSN??????
    The website in question is http://www.services4you.biz
    FYI to any of you wondering, the business belongs to my brother whose now in Iraq, I have some web skills but I'm really just trying to keep his biz afloat.
    Please help if you can
    THANKS

    Originally, it was designed with Dream Weaver, but when my brother left, I didn't have Dream Weaver on my PC, so I just pulled his site off the net with the FrontPage program I have on my PC. I recently ordered Dream Weaver so it's on its way to me. I'll convert back to Dream Weaver as soon as I get it.
    However, is there anyone out there who might be able to assist me with this, because I have created other sites using FrontPage and they all have the same problem. Again, the site in question is http://www.services4you.biz
    Thanks again to all who respond.

  • Improper display with !DOCTYPE html

    This is the code at the top of the page:
    <pre><nowiki><!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
    The body code starts like this: <body topmargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> </nowiki></pre>
    The page is displayed with margins top, left and right. Why? The page displays correctly when on "html" is noted at the top and nothing else prior to the head.
    ''added formatting to display the code.''

    Is there a particular reason you're using those antiquated attributes instead of CSS?
    * https://developer.mozilla.org/docs/Web/Guide/CSS/Getting_started
    <pre><nowiki><head>
    <style type="text/css">
    body { margin: 0 0 auto 0; background-color: white; }
    </style></nowiki></pre>
    The attributes you mention are non-standard (specific to Internet Explorer), and as such Firefox only supports them in Quirks Mode. To trigger quirks mode, omit the DOCTYPE declaration from your document (presumably you use a malformed DOCTYPE, which had the same effect).
    * https://developer.mozilla.org/en/docs/Mozilla_Quirks_Mode_Behavior

  • How can I embed an DOCTYPE HTML Form from Adobe Forms central into a responsive html5 page?

    How can I embed an DOCTYPE HTML Form from Adobe Forms central into a responsive html5 page?
    -Luis

    Hi,
    You can embed the form on your website, but you need to make sure that javascript has been enabled in the browser. You need to copy the embed code and add it into your HTML code. If you would like FormsCentral to generate embeded HTML form without using javascript, you may post a feature request and vote it. Hope it helps! Thanks!
    Kind regards,
    Shiyao Bao

  • Doctype html and instancebegin template

    I have a template I've created in Dreamweaver 5.5 in which the first line reads <!DOCTYPE html>
    When I create a document from this template, the first line is changed to:
    <!-- InstanceBegin template="/Templates/default.dwt.php" codeOutsideHTMLIsLocked="false" --><!DOCTYPE html>
    This messes up Internet Explorer really bad.
    Is there a way to tell Dreamweaver to either (1) move InstanceBegin code somewhere else or (2) drop it entirely?
    Firefox, Chrome, Safari and the browser that comes with the Kindle Fire are unbothered by this excess code. Internet explorer, however, is destroyed by this.
    TIA
    John Hughes

    This comment:   <!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->    MUST BE placed BETWEEN the <html> and the <head> OR before the conditional comments so that the changes made to this section on your template(s) will reflect on all pages created from them.
    Below is what I have on my template:
    <!DOCTYPE html>
    <html>
    <!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
    <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
    <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
    <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
    <!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]-->
    <!--[if gt IE 8]><!--> <html lang="de"> <!--<![endif]-->
    <head>
    This is the result of the TemplateInfo tag:
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/DE-SubSiteNew.dwt" codeOutsideHTMLIsLocked="true" -->
    <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
    <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
    <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
    <!--[if IE 8]><html class="no-js lt-ie9" lang="en"> <![endif]-->
    <!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
    <head>
    I have no issues. Hope this helps.

  • Set DOCTYPE for a self rendered HTML page using cl_gui_html_viewer

    G'Day!
    I'm dealing with HTML in ABAP and i' stuck with a nasty little problem. Perhaps somebody know's the answer and can help me out. Thanks in advance. (I'm sorry for my poor english)
    My problem is:
    I am rendering a html page in abap and display ist using a cl_gui_html_viewer.
    Works fine.
    But now in need to set the right DOCTYPE for the rendered html page.
    If i add the DOCTYPE definition, my html page is not displayed, instead i get a display of the html-code??
    To break it down to the root:
    How can i add the DOCTYPE definition to a self-rendered html page?
    If i add the DOCTYPE definition as first element of my html table, the html code won't be interpreted.
    If i do not add the DOCTYPE defintion everything works fine.
    I need the DOCTYPE definition so that the browser won't get into quirks mode and interpretes the html tag's right.
    What i've done so far:
    (Dynpro, container, html_viewer)
    Load my JScripts (with load_mime_object)
    Load my CSS (with load_mime_object)
    Load my HTML:
    -- lt_html       TYPE w3htmltab
    ((--  APPEND  '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">'  TO ct_html.)) this line cause my trouble
    -- filled the itab with my html tags <html>....</html> (set right url for Jscript and CSS)
    -- Load my html table and get an URL CALL METHOD gr_labform_html->load_data
    -- Load the url CALL METHOD gr_labform_html->show_url

    I've "solved" my issue with a little workaround.
    I created an empty html page with an existing DOCTYPE def and an tag like <!MYDATA!>
    After that i filled 'l_merge_table TYPE swww_t_merge_table' with my tag and my html_data.
    Loaded the whole thing with CALL METHOD gr_labform_html->load_html_document and now the DOCTYPE is set fully correct!
    But i'm still interessted why i can't set the DOCTYPE directly? Anybody knows?
    Got the idea from: Re: How can I read color from frond-end PC

  • WebElements, Custom HTML and missing !DOCTYPE

    In our Crystal Reports, we are using a combination of the WebElements library along with a custom HTML function library to display advanced HTML elements for parameter selection. Our custom HTML library contains some JQUERY UI components. We are using IE7.  Our BO environment is R3 SP4.
    The issue that I have encountered is that the JQUERY UI components require a valid <!DOCTYPE> specification to render correctly -  such as  <!DOCTYPE HTML> or <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> but from my research, the Crystal Report Viewer appears to not be adding a valid <!DOCTYPE> specification to its HTML stream (which most modern HTML always includes).
    Without the presence of a valid <!DOCTYPE>  specification, IE7 is rendering the HTML in a "BackCompat"  mode instead of a "CSS1Compat" mode.
    Any help in overcoming this issue - or getting SAP to add <!DOCTYPE> to the Crystal Report viewer - would be greatly
    appreciated!

    Hello Jamie,
    thank you alot for your suggestions. In detail i am facing the same problem described in this thread:
    Setting the HTML DOCTYPE with WAD?
    This thread and also my problem deals with DOCTYPE problems within BW 3.5 Web Application Designer using standard web templates. The websites are generated/rendered by a class called CL_RSR_WWW_ITEM_TEMPLATE which inserts javascript before the DOCTYPE tag.
    One solution would be to change the standard class by:
    1. Creating a new class inheriting from  CL_RSR_WWW_ITEM_TEMPLATE
    2. Overload the method RENDER, copy all code and concatenate at the end of the method the DOCTYPE element to the member n_sx_output-string
    3. Adjust the setting of the default template within the table RSRRENDERERATR for the key REN_NAME=CL_RSR_WWW_ITEM_TEMPLATE, ATTR_NAME=NAME. Change the field VALUE from "CL_RSR_WWW_ITEM_TEMPLATE" to the new class.
    This solution should work, but is kind of crappy and the risk for side effects on other renderings is too high.
    I was not able to find the note mentioned in the posting of Joel Blackthorne. What does "customer note" mean?
    I will also post this message within the other thread, because it is a little off topic here, i guess. Sorry for that.
    Thanks again, Jamie,
    Regards Felix

  • DOCTYPE in HTML pages.

              Hi,
              in weblogic510, the html pages created by a servlet (using HTMLKONA) contain
              the DOCTYPE as follows:
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN">
              Is it possible to change this to something like this?:
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
              (or)
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
              "http://www.w3.org/TR/html4/loose.dtd">
              This is important because the IE6 renders pages strictly on the DOCTYPE declarations.
              I appreciate your help.
              

    Yes, I wasn't very clear in my question, sorry.  When I created a page I was expecting to this code:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    That is what I am referring to.
    Is that code even nessecary?

  • Problem with DOCTYPE tag in the index.html for flex file

    When I have the following !DOCTYPE tag in the index.html file I use to load the flex swf file(s) both FireFox and Orical browsers both become horizontally shortened.  When the tag removed everything works fine.  Given that the !DOCTYPE tag is necessary for good html I'd really like to know what's going on.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Good info on that site about HTML, unfortunatly it had nothing new for me.  I did double check and everything and I was doing things the way they recomend.
    I'm really bothered that this is happening.  The DOCTYPE tag should be used and it should not have this effect when added to the HTML generated by the Flex Builder.  Additionally the new Flash Builder does have the DOCTYPE tag in its generated HTML and this is very worrisome.

  • Changing the DOCTYPE to HTML 5

    Hi everyone,
    Can anyone provide me the steps on changing the DOCTYPE for weblogic portal 10.3.2. Everywhere I see to change desktop.jsp and skeleton.xml files. But I do not see detailed steps. Presently it is showing
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    Any help would be appreciated.

    Hello, as far as Flash, you can/might fool many sites...
    The last really supported Flash for PPC was 10.1.102.64, but if it's for like Facebook or such, people have been fooling FB to think they have a leter version installed.
    Texas Mac Man's Flash hack/post...
    https://discussions.apple.com/thread/3599648?tstart=0
    Flash player 11.1 hack on PowerPC - https://discussions.apple.com/message/16990862
    Might be later ones around also... saw 11.3 I think... 10.5.502.55 actually here on my G5/10.5.8.
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, contributor Texas Mac Man suggests the following solution which fools the site into thinking that you are running the latest version:)
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
    You should also consider the Shockwave Player, which displays Web content that has been created by Adobe Director, much used for multimedia: For PPC Macs:  http://get.adobe.com/shockwave/
    See in each Browser which version of Flash it thinks it has...
    http://kb2.adobe.com/cps/155/tn_15507.html
    Then Test Adobe Shockwave & Flash Players...
    http://www.adobe.com/shockwave/welcome/
    Not quite sure what the other question/problem is.

  • Why is my flash content not working on my dreamweaver created html site?

    This is a problem that's happening on my website I'm creating.  I created a quick test website to show you the problem on the fourm.  It's the same problem, and if you can provide the solution to this test website I can apply it to my main website.
    Test website on server:
    test331754952.net23.net
    What I did:
    -launched flash
    -typed "test" and made it spin 360 degrees
    -published swf
    -launched dreamweaver
    -created a site
    -moved swf to site folder
    -saved a html file to the site folder
    -in dreamweaver, went to insert, media, swf, then selected the swf I made
    -it inserted the swf, creating a gray placeholder for it
    -re-saved the html document, at which point dreamweaver created a folder named script and 2 files, an swf, and a javascript file
    Site Directory:
    Scripts Sub-Directory:
    What happens:
    -when I launch the swf on my machine, it plays fine
    -when I open the swf directly on the test website on the server, it plays fine
    -when I open the html with the embended swf on the test website on the server, it shows a gray box, then goes white
    -In dreamweaver, when I go to preview in browser and choose internet explorer, it tells me I don't have new flashplayer(I do: flashplayer 11) 
    Ie also pokes up a box at the bottom that says its not allowing content.  When I click allow content, it creates a gray box
    -In dreamweaver, when I go to preview in borwser and choose google chrome, it tells me flash player has stopped a potentionally unsafe operation.  When I close this dialog box, it gives me a gray box where my swf should be embeded.
    -I've tried changing global flash secuirty setting and it does nothing
    -I've tried visiting the test website on multiple computers in my household to no avail
    -I've tried having friends visit the site on their computer at their house to no avail
    -I did't touch the code on this test website-the code is exactly what dreamweaver generated
    Html Document Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="test">
      <param name="movie" value="test.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="opaque" />
      <param name="swfversion" value="15.0.0.0" />
      <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
      <param name="expressinstall" value="Scripts/expressInstall.swf" />
      <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="test.swf" width="550" height="400">
        <!--<![endif]-->
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="15.0.0.0" />
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
        <div>
          <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
          <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
        </div>
        <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>
    Javascript file code(the one dreamweaver made when I inserted swf):
    /*! SWFObject v2.0 <http://code.google.com/p/swfobject/>
    Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
    This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
    var swfobject = function() {
    var UNDEF = "undefined",
      OBJECT = "object",
      SHOCKWAVE_FLASH = "Shockwave Flash",
      SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlash",
      FLASH_MIME_TYPE = "application/x-shockwave-flash",
      EXPRESS_INSTALL_ID = "SWFObjectExprInst",
      win = window,
      doc = document,
      nav = navigator,
      domLoadFnArr = [],
      regObjArr = [],
      timer = null,
      storedAltContent = null,
      storedAltContentId = null,
      isDomLoaded = false,
      isExpressInstallActive = false;
    /* Centralized function for browser feature detection
      - Proprietary feature detection (conditional compiling) is used to detect Internet Explorer's features
      - User agent string detection is only used when no alternative is possible
      - Is executed directly for optimal performance
    var ua = function() {
      var w3cdom = typeof doc.getElementById != UNDEF && typeof doc.getElementsByTagName != UNDEF && typeof doc.createElement != UNDEF && typeof doc.appendChild != UNDEF && typeof doc.replaceChild != UNDEF && typeof doc.removeChild != UNDEF && typeof doc.cloneNode != UNDEF,
       playerVersion = [0,0,0],
       d = null;
      if (typeof nav.plugins != UNDEF && typeof nav.plugins[SHOCKWAVE_FLASH] == OBJECT) {
       d = nav.plugins[SHOCKWAVE_FLASH].description;
       if (d) {
        d = d.replace(/^.*\s+(\S+\s+\S+$)/, "$1");
        playerVersion[0] = parseInt(d.replace(/^(.*)\..*$/, "$1"), 10);
        playerVersion[1] = parseInt(d.replace(/^.*\.(.*)\s.*$/, "$1"), 10);
        playerVersion[2] = /r/.test(d) ? parseInt(d.replace(/^.*r(.*)$/, "$1"), 10) : 0;
      else if (typeof win.ActiveXObject != UNDEF) {
       var a = null, fp6Crash = false;
       try {
        a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".7");
       catch(e) {
        try {
         a = new ActiveXObject(SHOCKWAVE_FLASH_AX + ".6");
         playerVersion = [6,0,21];
         a.AllowScriptAccess = "always";  // Introduced in fp6.0.47
        catch(e) {
         if (playerVersion[0] == 6) {
          fp6Crash = true;
        if (!fp6Crash) {
         try {
          a = new ActiveXObject(SHOCKWAVE_FLASH_AX);
         catch(e) {}
       if (!fp6Crash && a) { // a will return null when ActiveX is disabled
        try {
         d = a.GetVariable("$version");  // Will crash fp6.0.21/23/29
         if (d) {
          d = d.split(" ")[1].split(",");
          playerVersion = [parseInt(d[0], 10), parseInt(d[1], 10), parseInt(d[2], 10)];
        catch(e) {}
      var u = nav.userAgent.toLowerCase(),
       p = nav.platform.toLowerCase(),
       webkit = /webkit/.test(u) ? parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/, "$1")) : false, // returns either the webkit version or false if not webkit
       ie = false,
       windows = p ? /win/.test(p) : /win/.test(u),
       mac = p ? /mac/.test(p) : /mac/.test(u);
      /*@cc_on
       ie = true;
       @if (@_win32)
        windows = true;
       @elif (@_mac)
        mac = true;
       @end
      return { w3cdom:w3cdom, pv:playerVersion, webkit:webkit, ie:ie, win:windows, mac:mac };
    /* Cross-browser onDomLoad
      - Based on Dean Edwards' solution: http://dean.edwards.name/weblog/2006/06/again/
      - Will fire an event as soon as the DOM of a page is loaded (supported by Gecko based browsers - like Firefox -, IE, Opera9+, Safari)
    var onDomLoad = function() {
      if (!ua.w3cdom) {
       return;
      addDomLoadEvent(main);
      if (ua.ie && ua.win) {
       try {  // Avoid a possible Operation Aborted error
        doc.write("<scr" + "ipt id=__ie_ondomload defer=true src=//:></scr" + "ipt>"); // String is split into pieces to avoid Norton AV to add code that can cause errors
        var s = getElementById("__ie_ondomload");
        if (s) {
         s.onreadystatechange = function() {
          if (this.readyState == "complete") {
           this.parentNode.removeChild(this);
           callDomLoadFunctions();
       catch(e) {}
      if (ua.webkit && typeof doc.readyState != UNDEF) {
       timer = setInterval(function() { if (/loaded|complete/.test(doc.readyState)) { callDomLoadFunctions(); }}, 10);
      if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("DOMContentLoaded", callDomLoadFunctions, null);
      addLoadEvent(callDomLoadFunctions);
    function callDomLoadFunctions() {
      if (isDomLoaded) {
       return;
      if (ua.ie && ua.win) { // Test if we can really add elements to the DOM; we don't want to fire it too early
       var s = createElement("span");
       try { // Avoid a possible Operation Aborted error
        var t = doc.getElementsByTagName("body")[0].appendChild(s);
        t.parentNode.removeChild(t);
       catch (e) {
        return;
      isDomLoaded = true;
      if (timer) {
       clearInterval(timer);
       timer = null;
      var dl = domLoadFnArr.length;
      for (var i = 0; i < dl; i++) {
       domLoadFnArr[i]();
    function addDomLoadEvent(fn) {
      if (isDomLoaded) {
       fn();
      else {
       domLoadFnArr[domLoadFnArr.length] = fn; // Array.push() is only available in IE5.5+
    /* Cross-browser onload
      - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
      - Will fire an event as soon as a web page including all of its assets are loaded
    function addLoadEvent(fn) {
      if (typeof win.addEventListener != UNDEF) {
       win.addEventListener("load", fn, false);
      else if (typeof doc.addEventListener != UNDEF) {
       doc.addEventListener("load", fn, false);
      else if (typeof win.attachEvent != UNDEF) {
       win.attachEvent("onload", fn);
      else if (typeof win.onload == "function") {
       var fnOld = win.onload;
       win.onload = function() {
        fnOld();
        fn();
      else {
       win.onload = fn;
    /* Main function
      - Will preferably execute onDomLoad, otherwise onload (as a fallback)
    function main() { // Static publishing only
      var rl = regObjArr.length;
      for (var i = 0; i < rl; i++) { // For each registered object element
       var id = regObjArr[i].id;
       if (ua.pv[0] > 0) {
        var obj = getElementById(id);
        if (obj) {
         regObjArr[i].width = obj.getAttribute("width") ? obj.getAttribute("width") : "0";
         regObjArr[i].height = obj.getAttribute("height") ? obj.getAttribute("height") : "0";
         if (hasPlayerVersion(regObjArr[i].swfVersion)) { // Flash plug-in version >= Flash content version: Houston, we have a match!
          if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements
           fixParams(obj);
          setVisibility(id, true);
         else if (regObjArr[i].expressInstall && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) { // Show the Adobe Express Install dialog if set by the web page author and if supported (fp6.0.65+ on Win/Mac OS only)
          showExpressInstall(regObjArr[i]);
         else { // Flash plug-in and Flash content version mismatch: display alternative content instead of Flash content
          displayAltContent(obj);
       else {  // If no fp is installed, we let the object element do its job (show alternative content)
        setVisibility(id, true);
    /* Fix nested param elements, which are ignored by older webkit engines
      - This includes Safari up to and including version 1.2.2 on Mac OS 10.3
      - Fall back to the proprietary embed element
    function fixParams(obj) {
      var nestedObj = obj.getElementsByTagName(OBJECT)[0];
      if (nestedObj) {
       var e = createElement("embed"), a = nestedObj.attributes;
       if (a) {
        var al = a.length;
        for (var i = 0; i < al; i++) {
         if (a[i].nodeName.toLowerCase() == "data") {
          e.setAttribute("src", a[i].nodeValue);
         else {
          e.setAttribute(a[i].nodeName, a[i].nodeValue);
       var c = nestedObj.childNodes;
       if (c) {
        var cl = c.length;
        for (var j = 0; j < cl; j++) {
         if (c[j].nodeType == 1 && c[j].nodeName.toLowerCase() == "param") {
          e.setAttribute(c[j].getAttribute("name"), c[j].getAttribute("value"));
       obj.parentNode.replaceChild(e, obj);
    /* Fix hanging audio/video threads and force open sockets and NetConnections to disconnect
      - Occurs when unloading a web page in IE using fp8+ and innerHTML/outerHTML
      - Dynamic publishing only
    function fixObjectLeaks(id) {
      if (ua.ie && ua.win && hasPlayerVersion("8.0.0")) {
       win.attachEvent("onunload", function () {
        var obj = getElementById(id);
        if (obj) {
         for (var i in obj) {
          if (typeof obj[i] == "function") {
           obj[i] = function() {};
         obj.parentNode.removeChild(obj);
    /* Show the Adobe Express Install dialog
      - Reference: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6a253b75
    function showExpressInstall(regObj) {
      isExpressInstallActive = true;
      var obj = getElementById(regObj.id);
      if (obj) {
       if (regObj.altContentId) {
        var ac = getElementById(regObj.altContentId);
        if (ac) {
         storedAltContent = ac;
         storedAltContentId = regObj.altContentId;
       else {
        storedAltContent = abstractAltContent(obj);
       if (!(/%$/.test(regObj.width)) && parseInt(regObj.width, 10) < 310) {
        regObj.width = "310";
       if (!(/%$/.test(regObj.height)) && parseInt(regObj.height, 10) < 137) {
        regObj.height = "137";
       doc.title = doc.title.slice(0, 47) + " - Flash Player Installation";
       var pt = ua.ie && ua.win ? "ActiveX" : "PlugIn",
        dt = doc.title,
        fv = "MMredirectURL=" + win.location + "&MMplayerType=" + pt + "&MMdoctitle=" + dt,
        replaceId = regObj.id;
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       if (ua.ie && ua.win && obj.readyState != 4) {
        var newObj = createElement("div");
        replaceId += "SWFObjectNew";
        newObj.setAttribute("id", replaceId);
        obj.parentNode.insertBefore(newObj, obj); // Insert placeholder div that will be replaced by the object element that loads expressinstall.swf
        obj.style.display = "none";
        win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
       createSWF({ data:regObj.expressInstall, id:EXPRESS_INSTALL_ID, width:regObj.width, height:regObj.height }, { flashvars:fv }, replaceId);
    /* Functions to abstract and display alternative content
    function displayAltContent(obj) {
      if (ua.ie && ua.win && obj.readyState != 4) {
       // For IE when a SWF is loading (AND: not available in cache) wait for the onload event to fire to remove the original object element
       // In IE you cannot properly cancel a loading SWF file without breaking browser load references, also obj.onreadystatechange doesn't work
       var el = createElement("div");
       obj.parentNode.insertBefore(el, obj); // Insert placeholder div that will be replaced by the alternative content
       el.parentNode.replaceChild(abstractAltContent(obj), el);
       obj.style.display = "none";
       win.attachEvent("onload", function() { obj.parentNode.removeChild(obj); });
      else {
       obj.parentNode.replaceChild(abstractAltContent(obj), obj);
    function abstractAltContent(obj) {
      var ac = createElement("div");
      if (ua.win && ua.ie) {
       ac.innerHTML = obj.innerHTML;
      else {
       var nestedObj = obj.getElementsByTagName(OBJECT)[0];
       if (nestedObj) {
        var c = nestedObj.childNodes;
        if (c) {
         var cl = c.length;
         for (var i = 0; i < cl; i++) {
          if (!(c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param") && !(c[i].nodeType == 8)) {
           ac.appendChild(c[i].cloneNode(true));
      return ac;
    /* Cross-browser dynamic SWF creation
    function createSWF(attObj, parObj, id) {
      var r, el = getElementById(id);
      if (typeof attObj.id == UNDEF) { // if no 'id' is defined for the object element, it will inherit the 'id' from the alternative content
       attObj.id = id;
      if (ua.ie && ua.win) { // IE, the object element and W3C DOM methods do not combine: fall back to outerHTML
       var att = "";
       for (var i in attObj) {
        if (attObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries, like Object.prototype.toJSONString = function() {}
         if (i == "data") {
          parObj.movie = attObj[i];
         else if (i.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          att += ' class=" + attObj[i] + "';
         else if (i != "classid") {
          att += ' ' + i + '="' + attObj[i] + '"';
       var par = "";
       for (var j in parObj) {
        if (parObj[j] != Object.prototype[j]) { // Filter out prototype additions from other potential libraries
         par += '<param name="' + j + '" value="' + parObj[j] + '" />';
       el.outerHTML = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' + att + '>' + par + '</object>';
       fixObjectLeaks(attObj.id); // This bug affects dynamic publishing only
       r = getElementById(attObj.id);
      else if (ua.webkit && ua.webkit < 312) { // Older webkit engines ignore the object element's nested param elements: fall back to the proprietary embed element
       var e = createElement("embed");
       e.setAttribute("type", FLASH_MIME_TYPE);
       for (var k in attObj) {
        if (attObj[k] != Object.prototype[k]) { // Filter out prototype additions from other potential libraries
         if (k == "data") {
          e.setAttribute("src", attObj[k]);
         else if (k.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          e.setAttribute("class", attObj[k]);
         else if (k != "classid") { // Filter out IE specific attribute
          e.setAttribute(k, attObj[k]);
       for (var l in parObj) {
        if (parObj[l] != Object.prototype[l]) { // Filter out prototype additions from other potential libraries
         if (l != "movie") { // Filter out IE specific param element
          e.setAttribute(l, parObj[l]);
       el.parentNode.replaceChild(e, el);
       r = e;
      else { // Well-behaving browsers
       var o = createElement(OBJECT);
       o.setAttribute("type", FLASH_MIME_TYPE);
       for (var m in attObj) {
        if (attObj[m] != Object.prototype[m]) { // Filter out prototype additions from other potential libraries
         if (m.toLowerCase() == "styleclass") { // 'class' is an ECMA4 reserved keyword
          o.setAttribute("class", attObj[m]);
         else if (m != "classid") { // Filter out IE specific attribute
          o.setAttribute(m, attObj[m]);
       for (var n in parObj) {
        if (parObj[n] != Object.prototype[n] && n != "movie") { // Filter out prototype additions from other potential libraries and IE specific param element
         createObjParam(o, n, parObj[n]);
       el.parentNode.replaceChild(o, el);
       r = o;
      return r;
    function createObjParam(el, pName, pValue) {
      var p = createElement("param");
      p.setAttribute("name", pName);
      p.setAttribute("value", pValue);
      el.appendChild(p);
    function getElementById(id) {
      return doc.getElementById(id);
    function createElement(el) {
      return doc.createElement(el);
    function hasPlayerVersion(rv) {
      var pv = ua.pv, v = rv.split(".");
      v[0] = parseInt(v[0], 10);
      v[1] = parseInt(v[1], 10);
      v[2] = parseInt(v[2], 10);
      return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
    /* Cross-browser dynamic CSS creation
      - Based on Bobby van der Sluis' solution: http://www.bobbyvandersluis.com/articles/dynamicCSS.php
    function createCSS(sel, decl) {
      if (ua.ie && ua.mac) {
       return;
      var h = doc.getElementsByTagName("head")[0], s = createElement("style");
      s.setAttribute("type", "text/css");
      s.setAttribute("media", "screen");
      if (!(ua.ie && ua.win) && typeof doc.createTextNode != UNDEF) {
       s.appendChild(doc.createTextNode(sel + " {" + decl + "}"));
      h.appendChild(s);
      if (ua.ie && ua.win && typeof doc.styleSheets != UNDEF && doc.styleSheets.length > 0) {
       var ls = doc.styleSheets[doc.styleSheets.length - 1];
       if (typeof ls.addRule == OBJECT) {
        ls.addRule(sel, decl);
    function setVisibility(id, isVisible) {
      var v = isVisible ? "inherit" : "hidden";
      if (isDomLoaded) {
       getElementById(id).style.visibility = v;
      else {
       createCSS("#" + id, "visibility:" + v);
    function getTargetVersion(obj) {
         if (!obj)
             return 0;
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "swfversion") {
          return c[i].getAttribute("value");
      return 0;
    function getExpressInstall(obj) {
         if (!obj)
             return "";
      var c = obj.childNodes;
      var cl = c.length;
      for (var i = 0; i < cl; i++) {
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "object") {
           c = c[i].childNodes;
           cl = c.length;
           i = 0;
       if (c[i].nodeType == 1 && c[i].nodeName.toLowerCase() == "param" && c[i].getAttribute("name") == "expressinstall") {
           return c[i].getAttribute("value");
      return "";
    return {
      /* Public API
       - Reference: http://code.google.com/p/swfobject/wiki/SWFObject_2_0_documentation
      registerObject: function(objectIdStr, swfVersionStr, xiSwfUrlStr) {
       if (!ua.w3cdom || !objectIdStr) {
        return;
       var obj = document.getElementById(objectIdStr);
       var xi = getExpressInstall(obj);
       var regObj = {};
       regObj.id = objectIdStr;
       regObj.swfVersion = swfVersionStr ? swfVersionStr : getTargetVersion(obj);
       regObj.expressInstall = xiSwfUrlStr ? xiSwfUrlStr : ((xi != "") ? xi : false);
       regObjArr[regObjArr.length] = regObj;
       setVisibility(objectIdStr, false);
      getObjectById: function(objectIdStr) {
       var r = null;
       if (ua.w3cdom && isDomLoaded) {
        var o = getElementById(objectIdStr);
        if (o) {
         var n = o.getElementsByTagName(OBJECT)[0];
         if (!n || (n && typeof o.SetVariable != UNDEF)) {
             r = o;
         else if (typeof n.SetVariable != UNDEF) {
          r = n;
       return r;
      embedSWF: function(swfUrlStr, replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr, flashvarsObj, parObj, attObj) {
       if (!ua.w3cdom || !swfUrlStr || !replaceElemIdStr || !widthStr || !heightStr || !swfVersionStr) {
        return;
       widthStr += ""; // Auto-convert to string to make it idiot proof
       heightStr += "";
       if (hasPlayerVersion(swfVersionStr)) {
        setVisibility(replaceElemIdStr, false);
        var att = (typeof attObj == OBJECT) ? attObj : {};
        att.data = swfUrlStr;
        att.width = widthStr;
        att.height = heightStr;
        var par = (typeof parObj == OBJECT) ? parObj : {};
        if (typeof flashvarsObj == OBJECT) {
         for (var i in flashvarsObj) {
          if (flashvarsObj[i] != Object.prototype[i]) { // Filter out prototype additions from other potential libraries
           if (typeof par.flashvars != UNDEF) {
            par.flashvars += "&" + i + "=" + flashvarsObj[i];
           else {
            par.flashvars = i + "=" + flashvarsObj[i];
        addDomLoadEvent(function() {
         createSWF(att, par, replaceElemIdStr);
         if (att.id == replaceElemIdStr) {
          setVisibility(replaceElemIdStr, true);
       else if (xiSwfUrlStr && !isExpressInstallActive && hasPlayerVersion("6.0.65") && (ua.win || ua.mac)) {
        setVisibility(replaceElemIdStr, false);
        addDomLoadEvent(function() {
         var regObj = {};
         regObj.id = regObj.altContentId = replaceElemIdStr;
         regObj.width = widthStr;
         regObj.height = heightStr;
         regObj.expressInstall = xiSwfUrlStr;
         showExpressInstall(regObj);
      getFlashPlayerVersion: function() {
       return { major:ua.pv[0], minor:ua.pv[1], release:ua.pv[2] };
      hasFlashPlayerVersion:hasPlayerVersion,
      createSWF: function(attObj, parObj, replaceElemIdStr) {
       if (ua.w3cdom && isDomLoaded) {
        return createSWF(attObj, parObj, replaceElemIdStr);
       else {
        return undefined;
      createCSS: function(sel, decl) {
       if (ua.w3cdom) {
        createCSS(sel, decl);
      addDomLoadEvent:addDomLoadEvent,
      addLoadEvent:addLoadEvent,
      getQueryParamValue: function(param) {
       var q = doc.location.search || doc.location.hash;
       if (param == null) {
        return q;
        if(q) {
        var pairs = q.substring(1).split("&");
        for (var i = 0; i < pairs.length; i++) {
         if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
          return pairs[i].substring((pairs[i].indexOf("=") + 1));
       return "";
      // For internal usage only
      expressInstallCallback: function() {
       if (isExpressInstallActive && storedAltContent) {
        var obj = getElementById(EXPRESS_INSTALL_ID);
        if (obj) {
         obj.parentNode.replaceChild(storedAltContent, obj);
         if (storedAltContentId) {
          setVisibility(storedAltContentId, true);
          if (ua.ie && ua.win) {
           storedAltContent.style.display = "block";
         storedAltContent = null;
         storedAltContentId = null;
         isExpressInstallActive = false;
    Can someone please help!  I've looked and tried prety much everything.  If you can provide a solution I would GREATLY apreciate it!

    There is no Flash player version 15... as in your code:
    <param name="swfversion" value="15.0.0.0" />
    For some reason Adobe thought it would be a good idea to target a Flash player version (15) as default.....which may be out a couple years in the future. Go figure!!!
    If you don't like player version 9, change to 10 or 11.... just not 15 (yet).
    Best wishes,
    Adninjastrator

  • Why is my HTML email showing up wrong in different email account?

    I've seen this before and I think it has to do with CSS (which I realize isn't supposed to be in emails), but I'm super new to this and have scoured the internet to find out exactly what I'm doing wrong and how to fix it. It shows up properly in my Yahoo acccount, but not in my Gmail accounts (which initially threw it in Spam, if that has anything to do with it). I only know the very basics of HTML and CSS, but still have get this work done and I'm assuming someone will be able to view the code and see what my issue is pretty quick - I hope! It previews in browsers just fine, it's only when I'm click "Forward to a Friend" to send it to myself to test.
    See the HTML and screencaps of the difference in view below...
    My HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <meta name="Description" content="LandOf.org is a land use information salon for Minnesota developers, planners and the public to learn about growing smarter. LandOf.org covers everything along the transect from central cities to rural areas with topics such as mixed land use to stakeholder collaboration with experts, downloadable plans, case studies and images for each. LandOf.org is a mingling of voices that asks, &ldquo;how can we do what&rsquo;s best for Minnesota?&rdquo;
    " />
    <title>Summer Reading List: Best of Smarting Off Blog</title>
    <style type="text/css">
    .rulebottom {
              border-bottom-width: 1px;
              border-bottom-style: dotted;
              border-bottom-color: #483225;
    .ruleleft {
              border-left-width: 1px;
              border-left-style: dotted;
              border-left-color: #483225;
    .texta {
              font-family: arial, helvetica, sans-serif;
              font-size: 11px;
              color: #483225;
    .texta a {
              font-family: arial, helvetica, sans-serif;
              font-size: 11px;
              color: #483225;
    .titlea {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 19px;
              text-decoration: none;
              color: #80CCA9;
    .titleb {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 19px;
              text-decoration: none;
              color: #154051;
    .textblue {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 11px;
              text-decoration: none;
              color: #154051;
    .bottominfo {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 11px;
              line-height: 16px;
              color: #FFFFFF;
    .border {
              border: thin solid #7C5A45;
    .text {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #977347;
              line-height: 16px;
    .intro {
              font-family: Georgia, "Times New Roman", Times, serif;
              font-size: 12px;
              line-height: 16px;
              color: #977347;
              font-style: italic;
    .publisher {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 14px;
              color: #3D1B01;
    .text a {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #87C1A9;
              line-height: 16px;
    body {
              background-color: #EAF5AE;
    .text1 {
              font-family: Arial, Helvetica, sans-serif;
              font-size: 12px;
              color: #171800;
              line-height: 18px;
    </style>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-2283394-35");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </head>
    <body>
    <table width="750" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EAF5AE">
      <tr>
        <td><p align="center"> </p>
          <p align="center"><span class="text">Summer reading list from LandOf.org. Having trouble viewing this email? <a href="http://www.landof.org/email/7-13.html" target="_blank" style="color:#6CA233">View it online.</a></span></p>
          <table width="650" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
            <tr>
              <td colspan="6"><div align="right"><a href="http://www.landof.org" target="_blank"><img src="http://www.landof.org/email/images/head.jpg" width="650" height="129" border="0" /></a></div></td>
            </tr>
            <tr>
              <td width="26" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="25" height="1" /></td>
              <td width="425" valign="top"></td>
              <td width="14" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="14" height="1" /></td>
              <td width="16" rowspan="6" valign="top"><img src="http://www.landof.org/images/spacer.gif" width="15" height="1" /></td>
              <td width="150" rowspan="6" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table width="150" height="3" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td></td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF"><table width="150" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><table width="150" height="3" border="0" cellpadding="0" cellspacing="0" bgcolor="#154051">
                                    <tr>
                                      <td></td>
                                    </tr>
                                  </table></td>
                              </tr>
                              <tr>
                                <td><p align="left"><br />
                                    <img src="http://www.landof.org/email/images/blog-bubble.jpg" width="87" height="69" /><br />
                                  </p>
                                  <font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:bold;line-height:10pt;"> THE LATEST FROM THE SMARTING OFF BLOG </font><br />
                                  <br />
                                  <font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:normal;line-height:11pt; "><strong>Recommendations: Who to Check out on Facebook</strong><br />
                                  <br />
                                  The following are a few of our favorites to keep in touch with on Facebook. Like them too for resources, news and more.</font><br />
                                  <br />
                                  <font style="color:#154051;font-family:Arial;font-size:8pt;font-weight:normal;line-height:11pt; "><a href="http://blog.landof.org/2012/09/recommendations-who-to-like-on-facebook.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a> </font> <br/>
                                  <br />
                                <br/></td>
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td height="3px" bgcolor="#154051" ></td>
                  </tr>
                  <tr>
                    <td><div align="center"> <a href="http://www.landof.org/email/12-12.html"><img src="http://www.landof.org/email/images/last-issue.jpg" alt="Read the last issue" width="150" height="208" border="0" /></a> </div></td>
                  </tr>
                </table>
                <a href="http://blog.landof.org/2011/02/celebrate-life-in-twin-cities-watch.html" target="_blank"></a></td>
              <td width="20" rowspan="6" valign="top"><img src="../images/spacer.gif" width="20" height="1" /></td>
            </tr>
            <td valign="top"><img src="http://www.landof.org/email/images/recommended.jpg" alt="Recommended" width="425" height="75" /><br />
                <table width="421" border="0" cellspacing="0" cellpadding="0">
                </table></td>
            </tr>
            <tr>
              <td valign="top"><p><strong><a href="http://blog.landof.org/2013/05/16-rules-for-growing-smarter-city.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">16 Rules for Growing a Smarter City</a></strong>
                <p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">Kaid Benfield&mdash;professor, nonprofit founder and author specializing in the topics of smart growth and sprawl&mdash;discusses the need for moving past simply advocating for smart growth to putting quality plans into action.<br />
                  <br />
                <a href="http://blog.landof.org/2013/05/16-rules-for-growing-smarter-city.html" target="_blank" style="color:#6CA233">Read more.</a></font>           
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/05/northfield-named-as-having-complete.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Northfield Named as Having a &quot;Complete Street Policy&quot;</a></strong></p>
                <p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">There are 488 cities, states and regions with Complete Street policies in the US. In 2012, 130 new policies were passed. Northfield, MN has made the cut.<br />
                  <br />
                  <a href="http://blog.landof.org/2013/05/northfield-named-as-having-complete.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></p>
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/05/walk-score-ranks-most-walk-and-bike.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Walk Score Ranks Most Walk- and Bike-Friendly US Cities</a></strong><br />
                  <br />
                  <font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">Where do the Twin Cities rank regarding their walking and biking scores? What cities are doing better? How can we improve?<br />
                  <br />
                  <a href="http://blog.landof.org/2013/05/walk-score-ranks-most-walk-and-bike.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></p>
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/05/generation-y-prefers-walkable-downtown.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Generation Y Prefers Walkable Downtown Living&mdash;For Now</a></strong><br />
                </p>
                <table width="425" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="267"><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">People in the 18-to-34 age bracket currently prefer to rent in downtown areasover the suburbs and a sprawling yard. But what happens when they decide to raise families in larger homes?<br />
                      <br />
                      <a href="http://blog.landof.org/2013/05/generation-y-prefers-walkable-downtown.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></td>
                    <td width="18"> </td>
                    <td width="140" valign="top"><img src="http://www.landof.org/email/images/7-13-walkabledowntown2.jpg" width="140" height="105" alt="Downtown Mpls" /></td>
                  </tr>
                </table>
                <hr noshade="noshade" size="1" />
                <p><strong><a href="http://blog.landof.org/2013/06/barcelona-fold-out-apartment-is-just.html" target="_blank" style="color:#977347;font-family:Arial, Helvetica, sans-serif;font-size:15px;line-height:20px">Barcelona Fold-Out Apartment Is Just 250 Square Feet</a></strong><br /></p>
                <p><font style="font-family: Arial, Helvetica, sans-serif;font-size: 12px;color: #977347;line-height: 16px;">This ingenious tiny studio apartment has everything a larger home does&mdash;a dining room, a kitchen, a bedroom, a lounge and more. How does it all fit into 250 square feet?<br />
                  <br />
                <a href="http://blog.landof.org/2013/06/barcelona-fold-out-apartment-is-just.html" target="_blank" style="color:#6CA233">Read more. &raquo;</a></font></p>
                <p> </p></td>
            </tr>
          </table>
          <div align="center">
            <p align="center"><a href="http://www.landof.org/email/forward/forwardplease.html" target="_blank"><img src="http://www.landof.org/email/images/forward.png" width="200" height="50" border="0" /></a></p>
            <p align="center" class="texta"><a href="http://www.landof.org/privacy.html" target="_blank" style="color:#483225">Privacy Policy</a></p>
            <font style="font-family:arial,helvetica,sans-serif;font-size: 11px;color:#483225;">To ensure you continue to receive this email, please add <a href="mailto:[email protected]" target="_blank" style="color:#483225">[email protected]</a> to your address book.<br />
            Did someone forward this email to you? <a href="http://www.landof.org/contact.aspx" target="_blank" style="color:#483225">Sign up</a> to receive your own notifications from LandOf.org.<br />
            <br />
            <u><a href="mailto: [email protected]" target="_blank" style="color:#483225">Request more information or contact LandOf.org</a></u>.<br />
            <br />
            <a href="http://www.landof.org" target="_blank" style="color:#483225">www.LandOf.org</a> | &copy;2012 LandOf.org<br />
            26 E. Exchange Street, Suite 206, St. Paul, MN 55101</font>
            <p align="center" class="texta">
              <!-- AddThis Button BEGIN -->
              <a href="http://api.addthis.com/oexchange/0.8/forward/facebook/offer?pco=tbxnj-1.0&url=landof.org%2 Femail%2F10-12.html&pubid=xa-4feb7dd23fdf0efa" target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/facebook.gif" border="0" alt="Facebook" /></a> <a href="http://api.addthis.com/oexchange/0.8/forward/twitter/offer?pco=tbxnj-1.0&url=landof.org%2F email%2F10-12.html&pubid=xa-4feb7dd23fdf0efa" target="_blank" ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/twitter.gif" border="0" alt="Twitter" /></a> <a href="http://www.addthis.com/bookmark.php?source=tbxnj-1.0&=250&amp;pubid=xa-4feb7dd23fdf0efa&ur l=landof.org%2Femail%2F10-12.html " target="_blank"  ><img src="http://cache.addthiscdn.com/icons/v1/thumbs/more.gif" border="0" alt="More..." /></a>
              <!-- AddThis Button END -->
            </p>
            <p align="center" class="texta"><a href="http://www.adsoka.com/w2e.html" target="_blank" style="color:#483225">Email by Adsoka</a></p>
          </div></td>
      </tr>
    </table>
    </body>
    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-2283394-35']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    </script>
    </html>
    How it's supposed to show up:
    How it's showing up in Gmail (Incorrectly! All the copy should be within the white box.):
    Screencap from DW:
    So, is it CSS causing this? Are the Tables setup incorrectly? Something not Inline? Not enough info for you? Gmail HATES ME?!
    I'm just not seeing it and need to put the question out there while I continue to search for an anwer. Please respond!
    Thanks!

    Many mail clients reject images, JavaScript and embedded CSS styles.  For best results use plain text near the top to communicate your message and give a link to the actual web page on your server.
    For mail clients that do have limited support for HTML, use uncomplicated tables and inline CSS rules (inside the body tag).  
    All that meta data description is a red flag to spam filters.  You shouldn't be using meta description or keywords in e-mails.
    The article below has some good tips & resources for reliable e-mail templates you could use:
    http://alt-web.com/Articles/HTML-Emails.shtml
    Nancy O.

  • Help: No Parameters, HTML Output from Java Servlet

    I have a Java Servlet that reads parameters passed from an HTML form and displays them to another HTML page. I know the servlet is being invoked; however, I am not seeing any HTML output. Sending the output to a file reveals the parameters are coming in as NULL as well.
    I attempted a simple sample app with the same results. Here is what I am running:
    The HTML Form:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE>Collecting Three Parameters</TITLE>
    </HEAD>
    <BODY BGCOLOR="#FDF5E6">
    <H1 ALIGN="CENTER">Collecting Three Parameters</H1>
    <FORM ACTION="ThreeParams">
    First Parameter: <INPUT TYPE="TEXT" NAME="param1"><BR>
    Second Parameter: <INPUT TYPE="TEXT" NAME="param2"><BR>
    Third Parameter: <INPUT TYPE="TEXT" NAME="param3"><BR>
    <CENTER><INPUT TYPE="SUBMIT"></CENTER>
    </FORM>
    </BODY>
    </HTML>
    The Java Code:
    public class ThreeParams extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Reading Three Request Parameters";
    out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 " +
         "Transitional//EN\">\n" +
    "<BODY BGCOLOR=\"#FDF5E6\">\n" +
    "<H1 ALIGN=\"CENTER\">" + title + "</H1>\n" +
    "<UL>\n" +
    " <LI><B>param1</B>: "
    + request.getParameter("param1") + "\n" +
    " <LI><B>param2</B>: "
    + request.getParameter("param2") + "\n" +
    " <LI><B>param3</B>: "
    + request.getParameter("param3") + "\n" +
    "</UL>\n" +
    "</BODY></HTML>");
    What happens when I "submit" from the form is the same form reloads with the query string in the URL: "http://localhost:8080/ThreeParams/?param1=1&param2=2&param3=3"
    Any assistance with either (or both) would be thoroughly appreciated:
    a) why the parameters are not being passed correctly to the servlet
    b) why the HTML output page is not displayed
    Thanks in advance!
    - Steve

    I have found the answer to my problem listed in another thread.
    Thank you.

  • What html code will start an EXE (program) with a click on a webpage link?

    The code in bold below worked. After I switched my browser from IE 11 to Firefox to get the hover on hotspots to work, the program gave me this error message. I moved the EXE file to my local file folder and tried it as shown below. Still no success. Any suggestions?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Family Tree Charts</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><style type="text/css">
    <!--
    body,td,th {
        color: #000;
    -->
    </style></head>
    <body link=blue vlink=blue>
    <table width="100%" height="25" border="0" cellpadding="4" cellspacing="0">
      <tr>
        <td width="93%" height="27" bgcolor="#EFEFEF"> <div align="center"><font color="#999999">
        <b>This Software Allows You To Review Neat Charts of Your Family Tree </b></font></div></td>
        <td width="7%" bgcolor="#CCFFFF"> <div align="center"><A href="Mementos_Menu.html"><font size="2">Back</font></a></div></td>
      </tr>
    </table><BR><center>
    <br>
    <FONT color=#ff00ff><strong>Click the link below to download a special software program for your PC.</strong></FONT><br>
    <br>
    <a href="http://jdmcox.com/"><strong>Cox Website</strong></a><br><br>
    <strong>ITEM 1</strong> (AT THIS  WEBSITE) IS  THE <strong>FAMILY TREE CHART</strong> PROGRAM.<br>
    It is called <strong>Simple Family Tree</strong><br>
    <table width="80%" border="2" cellspacing="2" cellpadding="2">
      <tr>
        <td width="49%" align="left" valign="top"><FONT color=#ff00ff><strong>Click the link below to use this special software program after you download and install the program.</strong></FONT><br>
    <br>
    <!--<a href="C:\Program Files (x86)\Simple Family Tree\Simple Family Tree.exe"><strong>Family Tree Charts Program by Doug Cox</strong></a><br><FONT color=#ff00ff>
    -->
    <a href="C:\Users\Tom and Polly\Documents\Genealogy CD\Simple Family Tree\Simple Family Tree.exe"><b>Family Tree Charts Program</b></a><br><br>
    <FONT color=#ff00ff><strong>Click  the &quot;run&quot; button for both warning messages.<br>
    Click the &quot;READ THIS!&quot; menu option when the program opens.<br>
    Click  "X" in the upper right to close the program.<br><br>
    You can update the family data in future years with this program too.</strong></FONT>
    <br></td>
        <td width="51%" align="left" valign="top"><FONT color=#ff00ff><strong>NOTE 1: Be sure your HTML code for this webpage has a proper line to link to the location where the software was installed. You can use NOTEPAD to make HTML code changes. My existing line is: </strong></FONT><br>
          "c:\<u>program files (x86)</u>\simple family tree\simple family tree.exe"<br><br>
          <FONT color=#ff00ff><strong>The underlined portion will need to agree with where the program was installed. Just change the directory (see underlined sample above). Good luck. If I am still living, call me.<br><br>
          NOTE 2: After you download, install, and try to use the program, you may get an error message window that looks like this -&quot;0 FAMS @F191 @ FAM&quot;. This means you have an individual record in your GEDCOM file that does not have a parent. Be sure all GEDCOM records have at least one parent even if you must name the parent UNKNOWN.</strong></FONT></td>
      </tr>
    </table>
    <br></center> 
    <table width="100%" border="0" cellpadding="2" cellspacing="0" bgcolor="#CCCCCC">
        <tr>
          <td bgcolor="#EFEFEF"> <font size="2">&copy;2002 Sales and People</font></td>
        </tr>
    </table></body>
    </html>

    Herbert:
    Here is my latest code attempt, but I get messages about the lines in BOLD that I do not understand.
    Perhaps you will see what I need to fix. Sure appreciate what you have found and shared with such a neophyte (aka dumbo).
    Tom
    <!--
    body,td,th
    -->
    function RunExe(path) {
    try {
    var ua = navigator.userAgent.toLowerCase();
    if (ua.indexOf("msie") != -1) {
    MyObject = new ActiveXObject("WScript.Shell")
    MyObject.Run(path);
    } else {
    netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
    var exe = window.Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
    exe.initWithPath(path);
    var run = window.Components.classes['@mozilla.org/process/util;1'].createInstance(Components.inteinterfaces.nsIProcess);
    run.init(exe);
    var parameters = ["/c start Simple Family Tree.exe"];
    run.run(false, parameters, parameters.length);
    } catch (ex) {
    alert(ex.toString());
    This Software Allows You To Review Neat Charts of Your Family Tree
    Back
    Click the link below to download a special software program for your PC and your GED file.
    *Cox Website*
    ITEM 1 (AT HIS  WEBSITE) IS  HIS FAMILY TREE CHART PROGRAM.
    It is called Simple Family Tree
    Click the link below to look at my GEDCOM file contents.<br>Instructions are provided in the READ THIS menu option at the top of the window.
      *Show Yarnall Chart*
    *Return to this webpage by clicking on the backarrow after looking at the chart.
    You can update the family data in future years with this program too.*
    ©2002 Sales and People
    Date: Thu, 2 Jan 2014 02:09:18 -0800
    From: [email protected]
    To: [email protected]
    Subject: What html code will start an EXE (program) with a click on a webpage link?
        Re: What html code will start an EXE (program) with a click on a webpage link?
        created by Herbert2001 in Dreamweaver support forum - View the full discussion
    Perhaps this might be helpful:
    https://addons.mozilla.org/en-US/firefox/addon/opendownload-10902/
    It allows executables in Firefox to be run - it is an extenstion, though, so it must be installed in Firefox before your page will work.
    Another option is this solution, but it will still require a manual change in Firefox:
    http://forums.mozillazine.org/viewtopic.php?f=19&t=803615
    Or this: http://stackoverflow.com/questions/6472435/running-exe-in-firefox-why- do-i-get-an-error
    However, you will still have problems with getting it to work cross-browser. Honestly, browsers are not supposed to have access like that to the client side file system, which absolutely makes sense for the web.
    That is why you may have to approach the solution from a different angle - perhaps create a server side cloud version of your application(s) which can be easily accessed and run by your family members. I believe you used C to develop the applications? Although I have no experience with this framework, Wt might be a solution to convert your projects to server side applications:
    http://www.webtoolkit.eu/wt
    Good luck!
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5972893#5972893
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5972893#5972893
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5972893#5972893. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Dreamweaver support forum at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for

  • 100 Free Hindi songs are not organised in my 5800 ...

    In the phone's music player list I can't find the 100 Hindi songs (in dcf format) which came along with my new 5800 Xpress Music. I can see them in the memory card, when I connect my phone to my PC. I can alos play them on my phone's music player fro

  • ICloud is a game :)

    iCloud control Panel 2.x is still not ready for professional use, only for games With iCloud control Panel 2.x you cannot choose which Outlook folder to sync ! Hoping some Apple developer reading this thread: A professional Outlook user, has normally

  • Tell a Friend connection to Address Book

    When I choose to share music or and app with a friend, in the email creation box, why doesn't iTunes or the app store pick up the names and email addresses from my address book?

  • Saving Keynotes not working.

    I am getting an error message when I try to duplicate a file. "Unsaved Keynote Document.key" couldn't be moved because you don't have permission to access "Autosave information." To view or change permissions, select the item in the Finder and choose

  • How to convert *.jsf extension to *.htm

    hi, I am using jsf in my application. and i am using url patteren as *.jsf to access page but now i want to make it as *.htm how can i do that. i am using the fallowing code in my web.xml      <servlet-mapping>           <servlet-name>Faces Servlet</