Assigning 'Print' styles to existing CSS page

Hello, Have designed basic site using CSS setting for 'all'
media. Now I want to make CSS 'print' pages. The problem I'm having
is assigning 'print' settings to my CSS page. Currently my head
data reads:
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>notjustthenews.co.uk</title>
<link href="njtn.css" rel="stylesheet" type="text/css"
/>
</head>
Can anyone help?

Your profile lists 10.6.2 as your OS version. If this is true, it may be the source of problems with Pages. Keeping both the OS and iWork apps updated will avoid some problems.
Jerry

Similar Messages

  • Applying a CSS style to an existing web page

    Hi all.
    I have recently updated the look of one of my web pages in my site. I'm looking to update the look of the other pages in my site as well to the same style/look. I have a CSS style saved as  "main layout" that I would like to use to apply the same look my existing pages. I'm working in Dreamweaver CS4. Does anyone know how to go about doing this? I realize that, because the existing page already has a layout applied to it, that the look may not be exactly the same, and that's fine, I can work with it from there if I can get it to that point. I feel like there should be an obvious answer to this, but i can't find one.
    Any help is greatly appreciated.
    Thanks.

    This is one of my old pages.
    <!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" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Home Page</title>
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    body  {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
    background: 000000;
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #FFFFFF;
    background-color: #000000 ;
    border: 10 px;
    background-image: url(<img src="Graphics/blackbg.jpg" width="1024" height="658" />);
    .twoColFixLtHdr #container {
    width: 80%;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
    background: #000000;
    margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
    border: 25px solid #000000; /* this overrides the text-align: center on the body element. */
    .twoColFixLtHdr #header {
    background: #000000;
    padding: 0 0px 0 0px;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
    border: 1px solid #000000
    .twoColFixLtHdr #header h1 {
    margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
    padding: 0px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
    .twoColFixLtHdr #sidebar1 {
    float: left; /* since this element is floated, a width must be given */
    width: 200px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
    height: 825px;
    background: #000000 ; /* the background color will be displayed for the length of the content in the column, but no further */
    padding: 15px 10px 15px 20px;
    border: 15px solid #111111;;
    .twoColFixLtHdr #mainContent {
    margin: 0 0 0 25px; /* the left margin on this div element creates the column down the left side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
    padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
    .twoColFixLtHdr #footer {
    padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
    background:#DDDDDD;
    color: #000;
    font-size: small;
    text-align: center;
    font-weight: bold;
    .twoColFixLtHdr #footer p {
    margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
    padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
    float: right;
    margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
    float: left;
    margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    body,td,th {
    font-family: Tahoma, Geneva, sans-serif;
    color: #FFF;
    text-align: center;
    a:link {
    color: #D1FFF0;
    a:visited {
    color: #903;
    text-align: center;
    .twoColFixLtHdr #container p {
    color: #CCC;
    font-size: x-large;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    text-align: center;
    font-weight: bold;
    .twoColFixLtHdr #container #sidebar1 table tr td h2 strong em {
    color: #fdf5e6;
    font-size: x-large;
    font-family: Tahoma, Geneva, sans-serif;
    text-align: left;
    .twoColFixLtHdr #container #sidebar1 table tr td h2 em strong {
    color: #fdf5e6;
    font-size: x-large;
    text-align: left;
    .twoColFixLtHdr #container #sidebar1 table {
    color: #D1FFF0;
    .Maroon {
    color: #4a0019;
    .maroon {
    color: #4a0019;
    .sidebarfont2 {
    color: #d1fff0;
    .twoColFixLtHdr #container #sidebar1 table tr td strong center strong {
    color: #d1fff0;
    a {
    font-family: Palatino Linotype, Book Antiqua, Palatino, serif;
    .twoColFixLtHdr #container center div p a {
    font-weight: normal;
    .twoColFixLtHdr #container center div p em {
    font-size: 18px;
    -->
    </style><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    <body class="twoColFixLtHdr">
    <div id="container">
      <div id="header">
        <h1><img src="../../Graphics/logo.jpg" width="145" height="93" /><img src="../../Graphics/black-seafoam banner.jpg" width="910" height="127" /></h1>
      <!-- end #header -->
        </h1>
      </div>
      <p><div id="sidebar1">
        <table width="200" border="0" align="center" cellpadding="2" cellspacing="2" bg="bg">
          <tr>
            <td width="166" height="0" align="center" valign="middle" bgcolor="#4a0019"><h2>
              <center>
                <strong><em>Main Menu</em></strong>
              </center>
            </h2></td>
          </tr>
          <tr>
            <td><a href="../../index.html">Home</a></td>
          </tr>
          <tr>
            <td><strong><a href="../../Main Menu/MJSNC Staff/STAFF.HTML">
              <center spry:hover="SIDEBARFONT">
                Staff
              </center>
            </a></strong></td>
          </tr>
          <tr>
            <td><strong><a href="../../Main Menu/MJSNC Board of Directors/mjsnc board of directors.html">
              <center>
                Board of Directors
              </center>
            </a></strong></td>
          </tr>
          <tr>
            <td><strong><a href="../../Main Menu/MJSNC Newsletter/mjsnc newsletter.html">
              <center>
                Newsletter
              </center>
            </a></strong></td>
          </tr>
        </table>
        <p> </p>
        <table width="200" border="0" cellpadding="2" cellspacing="2">
          <tr>
            <td width="168" bgcolor="#4a0019"><h2><strong><em><center>Programs &amp; Services</center></em></strong></h2></td>
          </tr>
          <tr>
            <td><strong><a href="../Education and Therapy/education and therapy program.html"><center>Education &amp; Therapy</center></a></strong></td>
          </tr>
          <tr>
            <td><a href="../Support Services/Services.html"><strong> <center>Services</center></strong></a></td>
          </tr>
          <tr>
            <td><strong><a href="Adult Training Facilities.html"><center>Adult Training Facilities</center></a></strong></td>
          </tr>
          <tr>
            <td><a href="../Social Recreation/social recreation.html"><strong><center>Social Recreation</center></strong></a></td>
          </tr>
          <tr>
            <td><strong><a href="../Early Intervention/early intervention.html"><center>Early Intervention</center></a></strong></td>
          </tr>
          <tr>
            <td><strong><a href="../Family Living Program/family living program.html"><center>Family Living Program</center></a></strong></td>
          </tr>
        </table>
        <p> </p>
        <table width="200" border="0" cellpadding="2" cellspacing="2">
          <tr>
            <td width="168" bgcolor="#4a0019"><h2><em><strong><center>What's Happening?</center></strong></em></h2></td>
          </tr>
          <tr>
            <td><a href="../Challenger Division Baseball/Challenger Main Page.html"><strong><center>Challenger Division</center></strong></a></td>
          </tr>
          <tr>
            <td><strong><a href="../../Whats Happening/Summer Recreation/Summer Rec.html"><center>Summer Recreation</center></a></strong></td>
          </tr>
          <tr>
            <td><strong><a href="../../Whats Happening/LIP SYNC 2012/Lip Sync 2011.html"><center>Annual Lip Sync'</center></a></strong></td>
          </tr>
        </table>
      <p> </p></div>
      <table width="700" border="2" cellspacing="2" cellpadding="1">
        <tr>
          <td><p>Adult Training Facilities</p>
            <p> </p>
            <p>MARCELLA GANOE CENTER- </p>
    <p>439 SOUTH JUNIATA STREET LEWISTOWN,  PA 17044</p>
            <p><img src="../../Graphics/white-black flower.jpg" width="160" height="156" /></p>
            <p>COMPASS CORNER-</p>
            <p>31 SOUTH DORCAS STREET LEWISTOWN, PA 17044 </p>
    <p> </p>
            <p>The Mifflin-Juniata Special Needs Center has two Adult  Training Facilities in operation. The Marcella Ganoe Center, located at 439  South Juniata Street &amp; Compass Corner, located at 31 South Dorcas Street.  Both facilities operate year round, five days per week. </p>
          <p>This program is designed to maximize an individual's  opportunity to participate in their community. Staff serves as adult role  models and challenges each participant to reach their highest level of ability  in daily living skills, social and physical development and interactions with  others.</p></td>
        </tr>
      </table>
      <p align="center"> </p>
      <p align="center"> </p>
      <table width="700" border="2" cellspacing="2" cellpadding="1">
        <tr>
          <td><img src="../../Graphics/Ganoe 2.jpg" width="448" height="322" /></td>
          <td><img src="../../Graphics/compass 5.jpg" width="504" height="346" /></td>
        </tr>
        <tr>
          <td><img src="../../Graphics/compass 1.jpg" width="424" height="323" /></td>
          <td><img src="../../Graphics/Ganoe Thank you.jpg" width="492" height="346" /></td>
        </tr>
      </table>
      <p align="center"> </p>
      <p align="center"> </p>
      <blockquote> </blockquote>
      <center>
      <p> </p>
      <div style="text-align: center; border-top: 2px solid #999; margin-top: 1em;">
        <p><a href="../../index.html">Home</a> • <a href="Main Menu/Contact Us/Contact Us.html">Contact Us • Map &amp; Directions</a> • <a href="../../Main Menu/About Us/About Us.html">About Us</a></p>
      </div>
    </center>
    <hr />
    <font face=papyrus><center></center></font></div>
    </body>
    </html>

  • PDF Printing and CSS Media Style Sheets in OS X -- CSS @page ignored

    I'd like to author an XHTML document and specify precisely how it should be printed to pdf (margins/headers/footers/page breaks/etc.) using the CSS Media Style Sheet capability, i.e, CSS's @page rule.
    Apparently, Microsoft IE7 supports these page rules (http://blogs.msdn.com/ie/archive/2005/06/10/428149.aspx), but these do not yet appear to be supported in OS X's "Print to PDF" function (http://css-discuss.incutio.com/?page=PrintStylesheets).
    Is this true? Does anyone know how to access these CSS printing capabilities on a Mac?
    Furthermore, does anyone know how to get "Print to PDF" to maintain HTML hyperlinks in the PDF file?
    E.g., using OS X+Firefox, the following @page rule is ignored by the "Print to PDF" function on my Mac.
    <style type="text/css">
    <!--
    @media print {
    @page {
    counter-increment: pages;
    size 8.5in 11in; margin: 0pt; padding: 0pt;
    @bottom-left :first { }
    @bottom-left {
    font-family: Veranda, sans-serif; font-size: 10pt;
    font-weight: normal;
    content: "Document Title, Page " counter(pages);
    body { margin-top: .5pc; margin-bottom: .5pc; margin-left: .5pc; margin-right: .5pc; }
    h1, h2, h3,
    h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid; }
    blockquote,
    pre { page-break-inside: avoid }
    ul, ol, dl { page-break-before: avoid }
    -->
    </style>
    PowerBook G4 Mac OS X (10.4.5)
    PowerBook G4   Mac OS X (10.4.5)  

    I'd like to author an XHTML document and specify precisely how it should be printed to pdf (margins/headers/footers/page breaks/etc.) using the CSS Media Style Sheet capability, i.e, CSS's @page rule.
    Apparently, Microsoft IE7 supports these page rules (http://blogs.msdn.com/ie/archive/2005/06/10/428149.aspx), but these do not yet appear to be supported in OS X's "Print to PDF" function (http://css-discuss.incutio.com/?page=PrintStylesheets).
    Is this true? Does anyone know how to access these CSS printing capabilities on a Mac?
    Furthermore, does anyone know how to get "Print to PDF" to maintain HTML hyperlinks in the PDF file?
    E.g., using OS X+Firefox, the following @page rule is ignored by the "Print to PDF" function on my Mac.
    <style type="text/css">
    <!--
    @media print {
    @page {
    counter-increment: pages;
    size 8.5in 11in; margin: 0pt; padding: 0pt;
    @bottom-left :first { }
    @bottom-left {
    font-family: Veranda, sans-serif; font-size: 10pt;
    font-weight: normal;
    content: "Document Title, Page " counter(pages);
    body { margin-top: .5pc; margin-bottom: .5pc; margin-left: .5pc; margin-right: .5pc; }
    h1, h2, h3,
    h4, h5, h6 { page-break-after: avoid; page-break-inside: avoid; }
    blockquote,
    pre { page-break-inside: avoid }
    ul, ol, dl { page-break-before: avoid }
    -->
    </style>
    PowerBook G4 Mac OS X (10.4.5)
    PowerBook G4   Mac OS X (10.4.5)  

  • Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory.

    HI
    i restored a sharepoint web 80 application in our test domain
    and after when i browse the new web application 
    it says 
    Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file exists under the layouts directory. 
    adil

    Hi  adil,
    According to your description, my understanding is that you encountered the error “Cannot make a cache safe URL for "1025/styles/Themable/corev4.css", file not found. Please verify that the file
    exists under the layouts directory.” .
    The issue happens in
    We have customized master page
    In the master page, we use path the script/style file like this: <SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/coe/mainCOE.css%>"
    runat="server"/>
    While using the dynamic path in a multiple languages enabled site, language Id(1033 etc) will be added to the path automatically. That cause the file to be not found.
    To solve the issue, please download  the Arabic language pack http://www.microsoft.com/en-us/download/details.aspx?id=3411 ,
    install it on  your SharePoint and refresh your browser.
    Reference:
    http://sharepoint-community.net/profiles/blogs/cannot-make-a-cache-safe-url-for-1036-sytles-themable-corev4-css
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • I created a brochure in pages and exported it to a pdf format. The pdf looks and opens perfectly using preview but when opened in adobe reader (which my printer uses), fonts look odd, transparencies don't display...etc. Tells me error exists on page?

    I created a brochure in pages and exported it to a pdf format. The pdf looks and opens perfectly using preview but when opened in adobe reader (which my printer uses), fonts look odd, transparencies don't display...etc. Tells me error exists on page?

    Does this essentially mean there is no way to fix this problem on my end? It's a pity because the design and branding of my brochure will suffer if I remove transparencies and use different fonts. It also concerns me moving forward because it means the quality of print on my pieces will be significantly lower because most commercial printers use Adobe products.

  • Css print style sheet?

    How can I define a print style sheet so that I can hide menus and links?
    I am also finding when I print that the backgrounds are disappearing on the printout.
    terry

    Use a print media query...
    @media print {
         .class {
    attribute:value;
    attribute:value;
    Background printing is a browser setting. Since most people are just interested in information, not graphics, when printing websites, it's turned off by default. It's controlled in the Page Setup when printing from the browser.

  • Why do I have two of the same CSS style sheets on my page?

    I created my index page using a 3 column layout, and I brought in one of the sample css style sheets.  Now I have 3 css style sheets for my page:
    1)  thrcolfxdhdr.css
    2)  samplegreenyellow.css (I changed the name of the sample)
    3)  level3_3.css
    The last two have all the same .header .footer, etc.
    When I make a change in #2 it doesn not change anything on the page.
    When I make a change in #3, it does make a change.
    Do I need both.  Right now I am making every change twice!  Can I delete one?  If so, which one?
    Thanks.

    To see if you can do without one of the stylesheets, go to the head of your document (not the stylesheet) in Code View.
    Find one of the link statements (<link href=...etc.) and 'comment it out'. If your page functions without it, you can safely remove the link from your page. If you lose some styles but not all, you will need to spend a little more time with it.
    If your two stylesheets are actually identical, you can remove one with no harm done. Also remove the link and delete the stylesheet itself.
    If there are slight differences (you can find them by viewing them both in Code View, Tile Vertically in the Window menu), add the differences to one of the stylesheets and then delete the other.
    You might be able to compare the two stylesheets quickly in the CSS Styles Panel (but not with either link commented out) while your html page is open, but you won't see details side-by-side there.
    To answer your question (in passing!), the reason you did not see changes in your page when you changed Stylesheet #2 is because Stylesheet #3...called after Stylesheet #2...cancelled out all the changes you had made in Stylesheet #2. Then when you made changes in #3, they were NOT cancelled out by #2 because #3 came AFTER #2 in being called. Precedence is what the Cascade is all about.
    Beth
    Message was edited by: Zabeth69

  • Using a Print Style Sheet to hide columns in a report

    Hello there,
    I am curious to know whether it is possible to hide certain columns in reports using a print style sheet.
    I tried using the 'CSS Class' attribute when editing column formatting but it appears to be completely ignored and simply overwritten with the theme's default CSS Class for a report table cell (t15data in my case).
    Any help would be greatly appreciated...
    Cheers,
    Jordan

    Hi Jordan,
    Perhaps the simplest thing would be to change your page template (or, more probably, take a copy of the one you are using and edit that instead).
    Add id="#COLUMN_HEADER_NAME#" into the TH and TD tags for the Column Heading Template and all of the Column Templates.
    Then, in the Region Header of the region containing the report (or anywhere above the region), enter in:
    &lt;style type="text/css" media="print"&gt;
    #ID_OF_COLUMN_TO_HIDE {display:none}
    &gt;/style&gt;
    I have not tested this to see if it impacts on any other page functionality, but it does do what you need - ie, the column appears on screen but not on a printout.
    Regards
    Andy

  • Dreamweaver CS5 Design view defaults to print style

    I created a separate style sheet for printing, and it works everywhere except one place in Dreamweaver CS5. If I open one of my pages in source code, it looks normal, and I can see where the new code is for printing ...
    <link rel="stylesheet" type="text/css" href="css/stylemain.css" media="screen, projection" />
    <link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
    However, if I switch over to Design view, it shows up in the print style. It does not do this in Live View and it does not do this on the site itself. I'm stumped.
    http://www.keithpurtell.com/kthings/gway.htm

    HealthcareHelper wrote:
    After quitting and restarting Dreamweaver, the Design view functions normally again. Obviously a bug, but I don't know how to report it. I'll poke around the Adobe site.
    If the program works normally after restarting, it's unlikely to be a reproducible bug. It could be a computer memory problem or user error. However, the correct place to report bugs (and feature requests) is through the form at http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.
    If you experience the same problem again, make sure that View > Style Rendering is set to Screen Media Type. You can also select the media type from the Style Rendering toolbar, which is not displayed by default. To turn it on, select View > Toolbars > Style Rendering.
    You can use the Style Rendering submenu or toolbar to check other media types, including Print. It's possible that you had Print Media Type selected by accident.

  • Assign paragraph-styles to xml-tags correctly. How to?

    Hi,
    I want to assign xml-tags to existing paragraph styles in InDesign CS6 on a Mac 10.6.8. The xml itself is organized like this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <katalog>
    <artikel id="32434">
    <img href="/bilder/32434.tiff" />
    <artikeltextgruppe>
    <artikelmarke>DieselGabana</artikelmarke>
    <artikelheadline>Jeans ist super</artikelheadline>
    <artikeltext>Superjeans knallt rein.</artikeltext><artikelnummer>70238</artikelnummer>
    <artikelmaterial>100% Jeans</artikelmaterial>
    <artikelgroesse>Uni</artikelgroesse>
    <artikelfarbe>Uni</artikelfarbe>
    </artikeltextgruppe>
    </artikel>
    </katalog>
    By selecting the option "Assign formats per name to the tags" (translated from German) I wanted to generate the desired look. But if I start this all I get is the whole textblock of <artikeltextgruppe> assigned to 1 formatstyle. And besides that the whole content of <artikeltextgruppe> looks like one single paragraph without any structure (no linebreaks) The content though is correctly structured because I can highlight the value of e.g. <artikelmarke>separately by doubleclicking this tag in the structure-view.
    a) What can I do to assign the formats correctly AND to have correct linebreaks?
    b) If I drag my node <img href="/bilder/32434.tiff" /> iin the layout I get a message displayed to search again for the correct reference location. And that happens independently on using relative or absolute references (Although I need to use relative ones) What can I do here?
    thanks so much

    First, I would probably do a search and replace to remove the group element using a text editor (the <artikeltextgruppe> and </artikeltextgruppe> elements). They really are not needed.
    Second, I usually create my styles with the same names as the elements themselves. Then, after the XML is imported, I use the "map tags to styles" command from the Structure pane.
    I copied and pasted the single artikel element to create 4 records, added a varition of an image to each element record. Once the paragraph styles were mapped, your XML looked like this in a two column format (to get all 4 records on a page)...
    By default, ID will create a single line to a single line in the XML. So if you desire elements to be on their own line, the XML needs to be formatted that way. If you need different styling within a paragraph, you need to create character styles and alter the elements within an XML group and or paragraph and add the code in the XML accordingly or post process once inside of ID.
    I always need to take the XML I am given and reformat, move elements with the tree, change links to images, remove tabs and or spaces where I do not want them, tag for character styles, etc., to get close to how I want the initial format to be.
    Mike

  • "inc" extension wont display in css page layout

    i am new to building pages with css. all i know is table based layouts. im trying to make a new template for my sites. also they are ASP pages. my problem is when im trying to use the "inc" code for my headers, footers, navigation, and a right menu. they dont display.
    what would be different for getting those files to display in a css page layout?

    You're close but you're missing quotes around your include file names.  And your includes contain too much information.
    Include files are nothing more than snippets of html code. An include  statement is inserted into the parent page where you want the content to  appear.  For this demo, I have three pre-built SSI files in my Includes  folder:
    HeadMenu.ssi
    LeftLinks.ssi
    Footer.ssi 
    My parent page has been saved as Untitled.shtml (.shtml or  .shtm tells the server there are include statements in the page). You may also  use .php or .asp if your server supports these, however those include statements look different from  the ones  in this demo.
    <!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>
    <link href="style.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="container">
    <div id="header">
    <!--#include virtual="Includes/HeadMenu.ssi" -->
    <!--end header --> </div>
    <div id="sidebar1">
    <!--#include virtual="Includes/LeftLinks.ssi" -->
    <!--end sidebar1 --> </div>
    <div id="mainContent">
    <h1>Main Content H1</h1>
    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing odio.</p>
    <!--end mainContent --> </div>
    <div id="footer">
    <!--#include virtual="Includes/Footer.ssi" -->
    <!--end footer --> </div>
    <!--end container --> </div>
    </body>
    </html>
    My HeadMenu.ssi file looks like this with only the relevant menu code.
    <div id="menu">
    <a href="#content">skip menu &gt;</a>
    <a class="intro" href="index.shtml">home</a>
    <a class="gallery" href="gallery.shtml">gallery</a>
    <a class="tools" href="tools.shtml">tools</a>
    <a class="portfolio" href="portfolio.shtml">portfolio</a>
    <a class="fees" href="Fees.shtml">fees</a>
    <a class="links" href="links.php">links</a>
    <a class="contact" href="contact.shtml">contact</a>
    </div> <!--end menu -->
    You can see a working example of this on my website:  http://alt-web.com
    One last thing, you won't see includes appear on in browser  until you publish  to a web server.  If you want to test pages locally, you'll need to install a local testing  server (WAMP, XAMP, MAMP) on your computer.
    Ask your server host if they  support SSIs and whether or not  .shtml or .shtm files are set-up up to parse includes.  Sometimes you need to add this to your .htaccess file.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print |  Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Unable to print the report in second page

    Hi,
    I've got a problem in the report. Here In a report, I'm able to print the report's data in the first page only. I'm unable to print it in the second page,third page etc.
    To rectify the problem, I've selected all the fields and set their property "Print Object on" to All pages. Still the problem exists.
    Thanks in advance.
    Regards,

    What exactly do you mean by 'unable' ? Do you only get a 1 page report, OR do you get multiple pages with the 2nd, 3rd blank OR do the 2nd, 3rd have text but not data OR something else?
    "Print Object On" should be "First Page" - it sounds wrong but it's talking about logical pages (which may be multiple physical pages).

  • How do you insert another PDF document into an existing PDF page

    Here's some background.  I used to use Acrobat 5 (I know it's really old but it worked great for my needs, but it's time to upgrade).  Say I have an existing 1 page PDF document (an Invoice for example).  Sometimes in Excel I create additional supporting details/calculations/etc that I must place onto the Invoice.  In the past I would print my Excel document to PDF using PDF Broadgun (great tool!) - and I'd like to keep doing this.  Then I would go into Acrobat 5, open up my 1 page Invoice PDF document, then I'd use the Form tool, insert Icon, and select my "supporting" PDF document right onto the 1st page.  Then, as needed, I could resize it and place it anywhere on the existing Invoice/PDF 1 page document that I started with, and the resolution was great (i.e. no "grainy" appearances, etc).
    I've now upgraded to Acrobat XI Pro (well, technically I'm trialing to make sure it'll will meet my needs - so far so good, until I ran into this).  I have tried copying the Excel data directly into my PDF Invoice document, but it often times makes the object super large (way off the page left to right) and then I have to resize it (substantially reducing the size) in order to make it fit the page.  This resizing the causes the text to appear "grainy".
    So pretend that my original Invoice/PDF 1 page document took up the top 1/2 of the page.  Then in Excel I create some backup which is say 5-10 lines of calculations.  How can I get the Excel backup as an Image into my original 1 page document (and on 1 page)?  The only work around that I've found so far is to insert it as the last past, then highlight the new stuff from Excel, cut and copy it onto page 1 (these seems like several extra steps in my eyes, but it does work).
    I also want to avoid using screen snip-it, snagit, and various other tools for the following reasons:
    1.  I don't want to remove the grid lines within Excel (i.e. when you print from Excel the grid lines do not print by default)
    2.  I use PDF Broadgun to generate a PDF (i.e. electronic print) and then the data/document looks just like I'd want it to look if I had physically printed it
    Any thoughts?  Many thanks in advance for the help too.
    Other Details:  Windows 7 Pro, company/business use

    I don't see what the problem is with printing to PDF using the Adobe PDF printer as you did with the other tool. Then open your new Excel PDF and do the same process as before (assuming it worked for you). Just go to the Tools>Interactive and add a button field (I assume this is what you did before) and put the file there. At least give it a try as I think that is what you said you used to do.

  • Inserting div in a pre-existing CSS layout

    I am trying to add a div tag to an existing CSS style sheet - twoColFixFt Hdr.css. I want to add a second sidebar under the existing sidebar which is floated to the right of the main content. I want the second sidebar to float to the right of the main content div as well, and be positioned under the first sidebar. I tried virtually every combination of inserting this tag in the insert div window, but I cannot get it in the correct position. I also tried positioning as an AP div (it looks fine in Dreamweaver), but when viewed in Firefox or Explorer it's overlapping the copy in the main content. Any help will be appreciated.

    1. Go into code view.
    2. Find the line of code below (around about line 95)
    <!-- end #header --></div>
    3. Wrap another <div> around the 'sidebar1' <div> as shown below:
    <div id="sidebarWrapper">
      <div id="sidebar1">
        <h3>Sidebar1 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if it will always contain more content. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
      <!-- end #sidebar1 --></div>
    </div><!--end sidebarWrapper -->
    4. Insert another <div> 'sidebar2' directly after the 'sidebar1 <div> as shown below:
    <div id="sidebarWrapper">
      <div id="sidebar1">
        <h3>Sidebar1 Content</h3>
        <p>The background color on this div will only show for the length of the content. If you'd like a dividing line instead, place a border on the right side of the #mainContent div if it will always contain more content. </p>
        <p>Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque  eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend  sollicitudin, molestie id, varius et, nibh. Donec nec libero.</p>
      <!-- end #sidebar1 --></div>
    <div id="sidebar2">Sidebar2</div><!-- end sidebar2 -->
    </div><!-- end sidebarWrapper -->
    5. Add the below css selector to your existing css:
    .twoColFixRtHdr #sidebarWrapper {
    float: right;
    width: 200px;
    overflow: hidden;
    6. Amend the 'sidebar1' css to as below:
    .twoColFixRtHdr #sidebar1 {
        background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 15px 10px;
    7. Add the below css selector to your existing css:
    .twoColFixRtHdr #sidebar2 {
        background: #EBEBEB; /* the background color will be displayed for the length of the content in the column, but no further */
        padding: 15px 10px;

  • Print Moducle - Custom Package (New Page) Query

    Hi
    I've made a custom template (two 7x5 images over each other) on a custom page and save this template.  I know want to create a new page (by clicking on "new page" under "cells" menu) BUT I want to copy over the cells/page from page 1.
    e.g.  page 1 is perfect, I now want to create a new page with same settings.  If I create a new page and then click on my template it just starts again with 1 page and my template!
    Aarrgghh.. surely there's a way to create a new page using existing template/page?
    Please advise - it's driving me around the bend!

    Hi,
    You mention that you use A6 landscape 148 x 105mm and you use Computation below to convert page format length to inches.
    148 mm = 5.82677 "
    When you use landscape orientation, usually the shorter 105mm will represent the height of the paper. i.e. With landscape the width is greated than the height. So on this case the height wopuld be 105mm or 4.1 in
    So in the printer initialization it wpuld be:
    set page length to 10.5cm (~25 lines at 6 LPI)
    \e\0x43\0x19
    however, I don't think this is the reason for the preview problem. The printer initialization should only affect the print. What is the setting for the Lines/Inch in the sapscript form? SE71 -> <Form> -> Basic Settings
    This could affect the preview.
    Regards,
    Aidan

Maybe you are looking for

  • Sendmail sola10 spamfilter

    How can i do spamfilter for sendmail for solaris 10 ? how easy is to install and configure spamassasing on solaris 10 can i add some rules in sendmail configuration file to block the spams . i had googled it but the solution i found were for linux se

  • FULL_SCREEN_INTERACTIVE not work under Ubuntu 8.1.0

    I have an AIR application which sets to FULL_SCREEN_INTERACTIVE in the constructor when the application launched. It works fine in XP environment, but fails in Ubuntu 8.1.0. My developing environment is Adobe Flash CS3. The code snippet as follow: pu

  • Restricting drag & Drop in Tcode ppome

    Hi SDN, I would like to restrict the drag and drop option in tcode PPOME so that we can drag & drop people and positions but not an org unit. I think you do this through the object PLOG but I dont know how this is done. Any ideas? Martin

  • Audio Playback Issues in Premiere Pro 8.1.0 with AJA Kona 3

    Hi, I'm supporting a couple of edits running the latest version of Premiere Pro. The editors are experiencing some strange stuttering/glitching audio playback via the installed AJA Kona 3 cards, manifested as follows: When scrubbing using keyboard ar

  • SbRIO save file on flash via host

    Hi, I have the follwing problem: I am using a SB-RIO9632XT. If the host programm, which operates in realtime shall save some information in a file. Can I use the internal memory on board for this? My major problem is to save information during operat