My webpage created with php prints code instead of the created webpage

My webpage is created using dynamic field therefore it had to be save as .php.
The problem now is when i want to print the page it prints code instead of the actual page. Is the a solution for this problem?
Here is the site
http://www.pianoandkeyboardshoponline.co.uk/Test/
Any help welcome

I think you're confused by what you're seeing.
When I print > preview your on-line page in Firefox, I see the page content and links -- which may look like code to you, but they're not revealing anything abnormal.   These are just links to other pages.
detailed_page.php?product_id=307-Yamaha-P105-Digital-Piano-in-White
You have these external style sheets but they are designated for screen & projection media only.
<link rel="stylesheet" type="text/css" media="screen, projection" href="style.css" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="jcart/css/jcart.css" />
Your print styles are actually driven by boilerplate.css towards the bottom of the page.
/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
Perhaps that's why what you see in print doesn't match what you see on screen.
If you want a print out of the screen display, do a screengrab with your print screen key.  Paste content it into your favorite graphics editor.
Hope this helps,
Nancy O.

Similar Messages

  • TS3297 I tried to download with a redemption code and got the message: "your computer isn't authorized"

    I tried to download with a redemption code and got the message: "your computer isn't authorized" -- how do I do that?

    Quit Safari, launch it directly from HD/Applications/ instead; trash the old version 5.1 on your Desktop... it isn't working with the Safari 5.1.1 system frameworks, and wasn't updated due to not being in HD/Applications/

  • While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this?

    While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this? Reinstalling the application does not clear the error, so I'm assuming the association is somewhere in Firefox.

    Never mind -- I just found it under Tools/Options.../Applications, where I changed the incorrect association of "nlmcp" from Windows Media Player to the correct one, NetLibrary Media Center. Done!

  • Can i just buy a gift card code instead of the physical card

    can i just buy a gift card code instead of the physical card, since i live outside the us ???, if so how would we do the transaction ?? thanks

    Hi there OmarMancilla, 
    You should have the ability to buy E-Gift Cards on BestBuy.com, which would be quite similar to a physical gift card, but in a digital version. You may check them out here. If you are an international customer, you would want to follow the instructions here for placing your order. 
    Please let me know if you should have any questions! 
    Sincerely, 
    Tasha|Social Media Specialist | Best Buy® Corporate
     Private Message

  • I just updated to 10.8.4 and my mail program is showing a series of boxes with AAAAs inside them instead of the email addresses. Also when on Safari web pages are displaying the same AAAAAs instead of type. Firefox displays fine. Can someone help me?

    I just updated to 10.8.4 and my mail program is showing a series of boxes with AAAAs inside them instead of the email addresses. Also when on Safari web pages are displaying the same AAAAAs instead of type. Firefox displays fine. Can someone help me?

    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    Next, close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current user font cache files. After running the command, close Terminal and immediately restart your Mac.

  • I have an iPhone 4 that is stuck in a recovery loop. i try to restore it but it comes up with an error code (-1) towards the end of the restore. can someone please help me?

    i have an iPhone 4 that is stuck in a recovery loop. i try to restore it but it comes up with an error code (-1) towards the end of the restore. can someone please help me?

    i just baught it off someone.. so im unsure if it was jailbroken or not.. and i dont think its under warranty now.
    is there a software or something along those lines that would indicate what peice of hardware is faulty?
    i baught it in this recovery loop thinking it was going to be a cheap way of getting a new phone without having to do much.. but now im starting to think its a brick

  • Podcasts for iPad4: the list of titles is shown with 'monday' or 'tuesday' instead of the date after installing podcasts 2.1. How can I switch to the date?.

    Podcasts for iPad4: the list of titles is shown with 'monday' or 'tuesday' instead of the date after installing podcasts 2.1. How can I switch to the date?.

    You can't switch that display format.

  • I have nine, 1-page PDF files that are accessible and need to combine into 1 PDF file.  I have tried appending, adding and the combine PDFs process. The file created is not keeping my changes. The created file is partially accessible but I have to re-fix

    I have nine, 1-page PDF files that are accessible and need to combine into 1 PDF file.  I have tried appending, adding and the combine PDFs process. The file created is not keeping my changes. The created file is partially accessible but I have to re-fix issues I had fixed in the single files. I need suggestions on what else can be done if any. Using Acrobat pro XI.

    Out of habit, I tend to combine PDF files in the Page Thumbnails pane by right-click then "Insert Pages" -> "From File". For me, this preserves the tags from both documents, although the tags may have to be moved into the right location (if I recall correctly the tags for the inserted pages get put at the end of the tag structure, regardless of where the pages are inserted), If I first put the tags for the document to be inserted inside a container tag like Section, it makes the process easier. Moving that set of tags to the right place is the only re-fixing that I recall having to do. What behavior are you experiencing?
    a 'C' student

  • Problem with PHP, CSS & Code Navigator in CS4

    Hi,
    I've got al little problem with code navigator. To show the problem, I created this 3 files:
    test1.html
    The CSS-Definition is defined static, with simple HTML.
    <html>
    <head>
         <style type="text/css">
              @import "test.css";
         </style>
    </head>
    <body>
          <p>Hello World</p>
    </body>
    </html>
    test2.php
    The CSS-Definition is defined dynamic, with PHP-Code.
    <html>
    <head>
         <style type="text/css">
              <? echo "@import \"test.css\";\n"; ?>
         </style>
    </head>
    <body>
          <p>Hello World</p>
    </body>
    </html>   
    test.css
    The CSS-File which is imported in test1.html and test2.php
    p {
         font-size:20px;
    The Problem in Dreamweaver CS4
    When opening the test.html - File in Dreamweaver CS4, I can easily see the CSS-Definition of the <p>-Tag in Code Navigator. To edit these definition I can simple open the test.css by clicking on the definition in Code navigator. For a complex webpage this is a greate feature. Sadly, this does not work, when I open the test2.php. Although when going to Live View and selecting the <p>-Tag I can see the CSS-Definition and the file in which it is defined in Code Navigator. But by clicking on the definition the test.css DOES NOT OPEN!
    Has anybody a solution? Because many of our projects have dynamic CSS-Definitions, it would be a shame, if this would not work.
    Tanks for help! :-)

    I've done some testing, which might point you in the direction of an interim solution.
    This is the code for related_files.php:
    <!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>Related files test</title>
    <?php include('include.css'); ?>
    </head>
    <body>
    <p>This is a paragraph.</p>
    </body>
    </html>
    This is the code for include.css:
    <style type="text/css">
    p {
         font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
         color:#F00;
    </style>
    Note that the include file contains the opening and closing style tags.
    By including your styles like this in a PHP include file, Dreamweaver applies the CSS in Design view (you don't need to turn on Live View). Holding down the Alt key while clicking in Design view brings up the Code Navigator with all the details of the CSS. The one missing link in the chain is that clicking the style selector in the Code Navigator does not open the CSS file. However...
    The file that contains the CSS is listed in the Related Files toolbar, so you can edit it in Split view, and see the results in Design view in exactly the same way as with an HTML page and ordinary style sheet.
    As I say, not the full solution that you wanted, but it might be something worth experimenting with.

  • PO created with wrong Company code

    Hi Gurus,
    I have Plant XXXX assigned to Company code 1111 and
             Plant YYYY assigned to Company code 2222
    One of the user has created PO with Plant XXXX and company code wrong as 2222.
    (we have warning message setup & not error message. So, it allowed user to create PO with wrong Company code and save)
    GR & IR both are already posted. I find the accounting document of these GR/IR show correct company code as XXXX-1111 (mostly would have taken correctly based on plant XXXX).
    These are service POs (non stock).
    Now user wants to change the company code in PO to 1111.
    I checked...and system simply allow to change to company code to correct one i.e 1111. It does not give any message.
    Could any one give me some additional info.. if it is right to do so? I am not too convinced at this moment.
    I was suggesting user to reverse GR, IR, delete PO and create new PO. Is that right?
    Thanks n advance for your input.
    Best Regards,
    Mohan

    Dear Mohan,
    U can change the company code in PO as it will not have any impact since the GR and IR is completed.
    Accounts are hit based on the valution area(valuation grouping code).
    Since the PO is already closed u can go ahead the change the same.
    Regards,
    AM Vahanan

  • SRM PO created with wrong company code

    Hello,
            The users have created several PO in SRM with wrong company code. The user was found in the wrong organization structure during the creation of shopping and approval. The PO did not get transfer to the Back because of this. Is there a way to modify the PO and change the company code.
       In case we want to modify it in the tables given that BBP_PD gives you an indication of which table and entry to modify, is there a way to do this operation (like SE16N in ECC)? Have you ever done this and what risk is their in such an operation.
    Thank you.

    Hi,
    I doubt anyone here will (or will dare) suggesting to you how to do it as it is against SAP practise totally. if the document is created wrongly, it should be deleted and approved with all the tracking and changes in place for auditing purposes.
    Frankly that is what you should practise as well.. my 2cents opinion.
    Regards.
    YS

  • Undesired multiple pdf files created with multipage print.  Acrobat 9.5

    Hello,
    I have a 20 tab spreadsheet in Excel 2010, 18 tabs of which are presentation pages.
    Most are landscape letter, 3 or 6 are landscape legal
    The first time around, I selected the 18 tabs, file/printed to pdf, and I ended up with a perfect pdf, All 18 pages, 3 of which were legal size.
    I change department names, change a bunch of data, added a few more tabs.
    When I commence the same print routine, selecting all tabs to be included, I now get one 16 page pdf, a number of 1 page pdf's, and one three-page pdf.  Each time the print routine asks for the file name.  8 times in total, instead of just once.  What triggers this unwanted multi file split, and how can I prevent it?
    Thank you for any and all suggestions,

    Hello,
    I have a 20 tab spreadsheet in Excel 2010, 18 tabs of which are presentation pages.
    Most are landscape letter, 3 or 6 are landscape legal
    The first time around, I selected the 18 tabs, file/printed to pdf, and I ended up with a perfect pdf, All 18 pages, 3 of which were legal size.
    I change department names, change a bunch of data, added a few more tabs.
    When I commence the same print routine, selecting all tabs to be included, I now get one 16 page pdf, a number of 1 page pdf's, and one three-page pdf.  Each time the print routine asks for the file name.  8 times in total, instead of just once.  What triggers this unwanted multi file split, and how can I prevent it?
    Thank you for any and all suggestions,

  • Delivery should not create with out company code data

    Hi all,
              We have created a customer master without company code data with T code VD01 and subsequently created sales order and delivery with PGI and invoice also saved but no accounting document is getting generated. But we want to stop at delivery only; system should not allow creating delivery. Please do the needful
    Thanks in advance
    Regards,
    Nagesh

    hi nagesh,.
    from standard SAP it might not be possible.
    but check this work around:
    after creating the COMPANY CODE DATA by the marketing people only you please go ahead and create a delivery till that time the sales order will be in open status.
    if you want to stop it through the SAP system:
    then you need to contact TECHNICAL PERSON on the same:
    MV45AFZZ : USEREXIT_SAVE_DOCUMENT_PREPARE for checking while creating a delivery if not created then to throw an ERROR message - this is the only probability to check
    but he may not be having solution for your query.
    except the work around.
    please check and confirm
    balajia

  • Issue with document created with a tax code related to a different Company Code

    Hello,
    we need to clear a document created with the tax code "YY" which is associated to the Company Code Espana even if the vendor of this document belongs to the Country Portugal.
    When we try to clear this documents we get the follow error:
    Tax code YY for Country Portugal has been deleted or incorrectly changed
    The problem is the tax code exists but it is associated to Company Code Espana and not to the Portugal one
    In order to cleare this document should we activate the tax code for Portugal, as well?
    Thank You

    Hello, Are you trying to post entry having Plant in Portugal? Thanks, Deepanshu

  • JasperReports Integration PDF is created with ISO-8859-1 instead of UTF-8

    Hi,
    This is a strange problem i'm struggling with. Since about one month the PDF's are created with the wrong character set. Instead of UTF-8 (this is also given as a parameter calling the procedure as you see below) the PDF are always created with ISO-8859-1.
    declare
    l_jasper_report_url VARCHAR2(100) DEFAULT 'http://localhost:8180/JasperReportsIntegration/report';
    l_rep_name VARCHAR2(80) DEFAULT'SLRReports/SLR_Statistic_Service_Level_Report_Monat';
    l_rep_format VARCHAR2(10) DEFAULT 'pdf';
    l_data_source VARCHAR2(20) DEFAULT 'default';
    l_rep_locale VARCHAR2(10) DEFAULT 'de_CH';
    l_rep_encoding VARCHAR2(10) DEFAULT 'UTF-8';
    l_StartDate DATE;
    l_EndDate DATE;
    l_MinDowntime INTEGER DEFAULT 1;
    l_ServiceHour CHAR DEFAULT 'Y';
    l_name VARCHAR2(50);
    l_typ VARCHAR2(20) DEFAULT 'monatsreport_ccps';
    l_additional_params VARCHAR2(200);
    l_mime_type VARCHAR2(30);
    l_blob BLOB;
    BEGIN
    l_StartDate := to_date('01.'||to_char( add_months(SYSDATE,-12),'MM.YYYY'),'DD.MM.YYYY');
    l_EndDate := to_date('30.'||to_char( add_months(SYSDATE,-1),'MM.YYYY'),'DD.MM.YYYY');
    l_name := 'slr-statistik-'||to_char(l_StartDate,'YYYY-MM')||'.pdf';
    l_additional_params := 'UserName=SYSTEM'||chr(38)||'String_StartDate='||to_char(l_StartDate,'dd.mm.yyyy')||chr(38)||'String_EndDate='||to_char(l_EndDate,'dd.mm.yyyy')||chr(38)||'SLR_MinDowntime='||l_MinDowntime||chr(38)||'SLR_ServiceHour='||chr(38)||l_ServiceHour;
    xlog ('PRC_GET_REPORT_TUNNEL', 'url (orig):' || l_rep_name||':'||l_additional_params);
    -- generate the report and return in BLOB
    xlib_jasperreports.set_report_url (l_jasper_report_url);
    xlib_jasperreports.get_report (
    p_rep_name => l_rep_name,
    p_rep_format => l_rep_format,
    p_data_source => l_data_source,
    p_rep_locale => l_rep_locale,
    p_rep_encoding => l_rep_encoding,
    p_additional_params => l_additional_params,
    p_out_blob => l_blob,
    p_out_mime_type => l_mime_type );
    dbms_output.put_line('p_out_mime_type: '||l_mime_type);
    -- insert into report (id,name,typ,mime_type,lob_text,datum) values (p_report_seq.nextval,l_name,l_typ,l_mime_type,l_blob,sysdate);
    -- commit;
    -- apex_application.g_unrecoverable_error := TRUE;
    EXCEPTION
    WHEN OTHERS THEN
    xlog ('PUT_BLB', SQLERRM, 'ERROR');
    RAISE;
    END;
    It looks like the procedure UTL_HTTP.get_header ignores the encoding parameter and overwrites it with ISO-8859-1. I also tried to set it with UTL_HTTP.set_header before calling UTL_HTTP.get_header buth that didn't help either.
    Then I started the JVM is started with the UTF-8 option and that made no change.
    There were no new installation on Oracle, tomcat or JasperReports side. So I'm wondering what has caused this string behaviour.
    Does anyone had this problem before or has a solution for it?
    I appreciate your help very much.
    Thanks and regards,
    Chris

    Hi,
    As my understanding, you could choose the encoding ways by yourself:
    Change your Internet Explorer 9 language
    encoding settings
    Alex Zhao
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Maybe you are looking for

  • Dreamweaver 12.0.1 Crashes when Opening Complex HTML5

    I'm getting a consistent crash when opening HTML5 documents with the latest general release and patched version of Dreamweaver. I open a document, switch to the split code and design view... bam. Immediate crash. If I'm in Code view, it's fine. Switc

  • Movies from iTunes don't show up on Apple TV

    Everything else from my library does (music, photos, TV shows), but I can't get the movies from my library to show up on my Apple TV. Here's the kicker...when I go to the movie section in my library (from the Apple TV) all the posters are scrolling o

  • What are the Master Table validations required for below fields

    Hi, I have created a selection screen with following fields. Can anybody tell me what are the exact master table vaidation i can do for the same! <b>Order Type[VBAK-AUART], Order Number[VBAK-VBELN], Customer PO #[VBKD-BSTKD], Sold-to Party No[VBPA-PA

  • ComboBoxGridItemEditor width

    I'm using a ComboBoxGridItemEditor inside a spark datagrid. The width of the popup that ComboBoxGridItemEditor opens has the same width of the datagrid column that contains it. Is it possible to detach the width of ComboBoxGridItemEditor popup from t

  • Redirecting a servlet????

    I am trying to redirct to a servlet but it doesn't seem to want to comply with my wishes. I am using a sendRedirect() method. It works with an ordinary URL but it won't all me to redirect to a Servlet. Any help or advice would be greatly appreciated.