CSS print - how to print as absolute links?

My web site contains links to the internal as site pages:

.. /Design1/Page1.html

or

.. /.. /design2/Page2.html

I want to put my print style sheet, so that relative links are replaced by absolute links. Then when the page prints the link should print as:

http://mywebsite.com/Design1/Page1.html

In my print style sheet, I currently have:

a: link: after {content: '("attr (href)')' ;}}

Dreamweaver CS6

Thank you

Don C.

In this case, you must add the full URL of your content.  It is not something that you can modify with your CSS.

And then that in your print style sheet:

@media print{
   a:after{content:" (" attr(href) ") ";font-size:0.8em;font-weight:normal;}
}

Nancy O.

Tags: Dreamweaver

Similar Questions

  • How to add the download link and print report?

    Hello
    In my dashboard, I have a text link that takes me to the report.
    I see only 'back' and 'bookmark' link at the bottom of the report. How to add 'Print' and the link 'Download' at the same place?

    Appreciate your help

    You want to add ' & Options = "to your link. There are options for all these actions. See this link:

    http://oraclebizint.WordPress.com/2007/07/30/customizing-Obi-EE-%E2%80%93-go-URL-parameters/

  • What is css print to?

    When I started to make my site I copied things from youtube.  I have the css depending on all of my pages through a tutorial.  I don't really know what it is for and when I test my site map print of its display with css errors.  Can I remove this css / print, I tried it and it seems to have no effect.

    www.hunterstables.co.uk/index.

    Thank you

    < link href = "css/print.css" rel = "stylesheet" type = "text/css" media = "print" > "

    This css print stylesheet is for if someone allows to print the page on a printer. Style sheet, you can choose to print the only parts of the page you want to print or modify the style for printing. Deletion will not affect the site itself, but it could affect how the site came out to a printer if you have styles in this sheet, which are related to the Web site.

    UNDER THE DIRECTION

    As there is nothing in this stylesheet, you can remove the link to it.

  • Can I print the hyper links in my emails?

    HP e-Print is fine if I receive an e-mail with an attachment that I want to print... but what happens if the sender is simply a hyper link (for content discussion) in the body of the e-mail message.  It would be great if to set up my account that I could choose... "Hyper links to print", if I could not print links if I made the message of great importance...

    I don't think that this is possible. And I don't think that can be applied too. What happens if the email you received to several links? The printer would print all the links? Seems complicated. If it's a good idea for the future.

  • How can I create a link to an image that is located on an ftp site to a Web page that is located on another.

    How can I create a link to an image that is located on an ftp site to a Web page that is located on another.

    I managed to do it with the full path of the link (file:///C|/Users/myname/Documents/familyK3/image1.jpg), but as it is quite long, I would use the relative path. To be clear, I have 1 site that spans 3 different storage locations for FTP. site1 (named familyK), that contains the page. On this page, I have an image that is in the images on training3 (named familyK3). I tried... / familyK3/images and... /... (/ familyK3/images, but I don't get to see the photo in DW (since it usually refers to an image in the same folder (root)) and not to another location).

    I use dreamweaver8.

    Stephaan

    Use an absolute URL in the field of the CBC to your properties panel.

    http://your_other_site.com/images/filename.jpg"alt ="description">

    Nancy O.

  • Absolute link problem

    I know it's a very simple concept, that's why I'm so frustrated. I can't get my link in my nav to access an external page! I have read a ton about how to solve this problem and it seems the problem for everybody has been to add http:// ahead... the thing is I did it!

    That's what my code looks like:

    "< li > < a href ="http://www.allypapko.com/blog/"title = 'Photo Blog' target = '_blank' > Photo BLOG < /a > < /li >"

    I'm actually went pretty crazy and have tried all the ways you might thing to write a... web url with "www", interminable, a slash, do not end with a slash, end with a few/blog, https:// ... everything!

    My site is http://allypapko.com

    The absolute 'Photo Blog' link in my navigation menu.

    The external site, that I'm trying to link it is http://allypapko.com/blog

    What happens is that when I click on the absolute link, "Blog Photo", that appears in the address bar:

    http://allypapko.com/#http :// www.allypapko.com/blog/

    It's never leaves my site or opens a new window. I know that I have included"target ="_blank"in my code, but I have tried without him but also quite well all the other options you must choose to.

    I think it's important, but http://allypapko.com I did with DW and http://allypapko.com/blog made with WP.

    All simply because I have no idea where the problem comes from my code nav complete is:

    < nav >

    < ul >

    < class li = "active" > < a class = "show_sub" href = "index.html" > < /a > photography

    < ul class = "submenu" >

    < li > < a href = 'index - 1.html' > commitment < /a > < /li >

    < li > < a href = "index - 2.html" > portrait < /a > < /li >

    < li > < a href = 'index - 4.html' > wedding < /a > < /li >

    < /ul >

    < /li >

    < li > < a href = 'index - 9.html' > design < /a > < /li >

    < li > < a href = 'index - 3.html' > personal < /a > < /li >

    < li > < a href = 'index - 8.html' > about me < /a > < /li >

    < li > < a href = 'index - 6.html' > back < /a > < /li >

    < li > < a href = 'index - 7.html' > contact me < /a > < /li >

    "< li > < a href ="http://www.allypapko.com/blog/"title = 'Photo Blog' target = '_blank' > Photo Blog < /a > < /li >"

    < /ul >

    < / nav >

    Any help on that would be great, I searched for a long time and it is quite difficult to know why this is happening! I now use cs6.

    This is because as your JavaScript is intercepting the click event:

    // dynamicpage.js line 156
    $("nav").delegate("a:not(.show_sub)", "click", function() {
            window.location.hash = $(this).attr("href");
            $(this).parent().siblings().not('.active').find('.submenu').slideUp(150);
            return false;
    });
    

    There are several ways to solve this problem, but try this:

    1. Add a class external to the in question.

    2. change the JS at:

    $("nav").delegate("a:not(.show_sub, .external)", "click", function() { 
    
    ...
    });
    

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • How to make hover/Rollover links work in IE7?

    That is the problem.  I did some CSS coding for the color of my links.  It looks like this:

    a: link {}
    color: #F0F0F0;
    text-decoration: none;
    }
    a: visited {}
    color: #F0F0F0;
    text-decoration: none;
    }
    a: hover {}
    color: #9F9F9F;
    text-decoration: none;
    }
    a: active {}
    color: #9F9F9F;
    text-decoration: none;
    }

    The code works fine in Firefox.  However, IE does not understand CSS coding for this.  (When I tested it in IE7, showed all of the default colors).

    So, I then added in some HTML codes, which looks like this:

    < body link = "#F0F0F0" vlink = "#F0F0F0" alink = "#9F9F9F" >

    Now, this changes the default link colors in IE7, but my hover/rollover color still does not work.  I guess that's because HTML encoding, there is no score/Environnement rollover code (only link vlink and alink).

    Someone knows how to solve this problem for my flight hover/rollover to display in IE7?

    Thank you.

    I know all concerned is not supposed to be using spaces.  For everyone told me that.  Just like everyone told me to always use div tags, but I've never found an instance where either actually caused me no problem.

    Continue the search. You want.  They do it.

    In order to better explain it well, there isn't any text.  Small images are links.  And, when you do an image, a link, it puts a border around it.

    Any other suggestions?

    Yes, certainly.  We told you this in your first post, the thread would have been two posts for a long time.

    Use this CSS for your images-

    an img {}

    border: 2px solid;

    border-color: #F0F0F0;

    }

    a: hover {img

    border-color: #F00;

    }

    Some browsers put on border-related images.  Others do not.  To cover in full, you must explicitly declare the borders.

  • Cannot build the site offline with absolute links

    Hello.

    I'm building a site offline before uploading to the server.

    At first I just use relative links, so everything is fine. But now that I've changed the absolute links, I can't get a preview of my work because all of the scripts, style sheets, images, etc. are linking to an online address that does not exist yet.

    In site manager, I put in my local root folder information, and my http address. It seems to me that Dreamweaver must be able to substitute the local root folder for the http address and thus be able to process the links locally. But this doesn't seem to be the case.

    So, how can I work offline but use absolute links in my documents.

    Thank you.

    > I went to absolute links because I have

    > my pages in separate directories and names of

    > these directories may change.

    I'm not. If directory names are changing, you must update the links - you were using absolute and relative root site or document relative links. Of course, if you change the name of the directory in DW, it will update all your links for your - unless you use absolute links. DW does not have absolute links.

  • Pseudo-classes: how to apply the different link colors in two separate table cells

    How can I add the link for these two cells status styles?

    Foot table is in an include file

    The current code is:

    < table width = "800" border = "0" align = "center" cellpadding = "0" cellspacing = "0" >
    < b >
    < class td = "tdfooter1" > < a href = "index.php" > home < /a > |  < a href = "about.php" > about our company < /a > |  < a href = "clients.php" > customers < /a > |  < a href = "partners.php" > our partners < /a > |  < a href = "contact.php" > contact us < /a > < table >
    < /tr >
    < b >
    < class td = "tdfooter2" > data Copyright 2010 carpet & amp; Carpet |  < a href = "terms.php" > terms of use < /a > |  < a href = "privacy.php" > < /a > privacy statement < table >
    < /tr >
    < /table >

    Current CSS is:

    {.tdfooter1}
    do-family: Tahoma;
    do-size: 12px;
    color: #FFFFFF;
    background-color: #666666;
    text-align: center;
    height: 30px;
    }
    {.tdfooter2}
    do-family: Tahoma;
    do-size: 12px;
    background-color: #CCCCCC;
    text-align: center;
    text-transform: capitalize;
    height: 30px;
    }

    Lack of variations, and any help will be really appreciated

    .tdfooter1 a: link {...

    .tdfooter1 a: visited {...

    .tdfooter1 a: hover {...

    .tdfooter1 a: active {...

    .tdfooter2 a: link {...

    .tdfooter2 a: visited {...

    .tdfooter2 a: hover {...

    .tdfooter2 a: active {...

  • Conversion of absolute links in links

    HR 7 HTML using our Corp. wants to have the help files able to function as a 'stand-alone' on the local PC files from network or servers for the continuity of activities. Currently, most of the files have 150 or less and are published on a server. External files are in subfolders in the folder where the published file. Links to external accessories (.doc, .xls, .pdf, etc.) are absolute links and must be changed to parent. A link existing example would be: HTTP://server.com/helpattachments/fname/sample.doc.  Aid is the foler where the published file and attachments is the folder where the linked external files. When the link is changed to: ... /Attachments/ some work and others don't. I discovered that some links require: ... /.. /Attachments/ to work properly. It seems that links that aren't in the path root of the project manager are extra... /'s. I'm trying to find out how RH7 reads the links and the backup of a directory and when. Any help is appreciated. Thank you.

    The simplest and most effective is to reproduce the Environment folder on your local computer (all the folders and files exactly as they will appear in the destination area) and let HR do most of the work.

    Therefore, to connect to what that outside of the project current HR, the method is:

    1. Select a link to: file in the Hyperlink dialog box.
    2. When you select your destination link in the dialog box, select the file and click on Open, a link to: field initially displays the absolute path.
    3. Click OK.
    4. Now, double click on the link to open the Hyperlink dialog box. HR has magically transformed the link in a relative path.

    (You will get a message for information about linking to an external file... When you initially create the link, and every time that you open it... just ignore it.)

    We use this method in a proposed merger of 42-project, and it has never failed us. The only time where your links will break is when you copy or move a file to another location. Given that relative paths are no longer valid, HR affects automatically links to the current topic; you will need to manually reassign the link.

    Good luck

    Leon

  • I can't understand how to insert an internet link in my outgoing mail.

    I like Thunderbird but somehow I can not understand how to insert an internet link in my outgoing mail. But if my correspondent responds and sends my E-mail again to me, the link became operational.

    Links and email addresses are not active in the composition window. During that long and you type correctly, they will be active when sending. You can save the message in drafts and see it become active or send it to yourself as a test.

  • Absolute links on page hml in the local directory does not

    All absolute links on my html pages (which are on my hardrive) are treated as local links and are therefore not work - i.e. Firefox adds the path of the local file before the url. For example, is the original link: http://www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article

    But Firefox adds the path to the directory so the string url becomes: /www.insidehousing.co.uk/legal/criminal-conviction-for-illegally-subletting-tenant/6518844.article%E2%80%9D

    It is also added with: E2% 80 %%9D (which, when tested from a Word page, leads to the site generates but page not found error).

    For testing purposes, is there a way I can reconfigure Firefox to analyze my links as absolute?

    Thank you very much

    Hey blue88,.

    A glance through the code < a href = & # x201d; That won't work. Here's a version of your page. To avoid this happening again, I suggest that you use a text editor with syntax highlighting, as Notepad ++.

  • How can I post a link

    When I copy a link from the line of control in the browser and paste it into a workstation, one of the two following situations occurs:

    1. software (default editor) get the link and converts it to title of the page, very slippery. When you click on the link in the post, the browser goes to the linked page. It works very well.

    2. the link is displayed exactly as it appears, "http:// etc.." When you click on the link in the post, it opens again the same talk page. Even if the visible link is correct, the hidden HTML anchor is the link to the current page. How can I display these links so that readers can follow them? For example, this http://www.apple.com/feedback/appletv.html will be link to the page you look at, not notes from the Apple page. Is it because it is not https? The same thing with the entries in the documentation online Apple. Is it possible to make these useful links?

    The forum is suffering from another ailment. I saw several reports of the same issue, but also see the problem reported to moderators.

  • My drop down bookmark does not offer 'manage bookmarks '. Support find Ican, is how to change the bookmarks. How can I find the link manage if this isn't in the menu drop-down?

    Question
    My drop down bookmark does not offer 'manage bookmarks '. All the support I can find that this is how to change the bookmarks. How can I find the link manage if this isn't in the drop-down list?

    In Firefox 4, "Organize bookmarks" was changed to "Show all bookmarks" to open the library window.

  • How can I play MP3 links via Facebook messenger on my iPad mini

    How can I play MP3 link on my mini iPad Facebook messenger, I have the latest version of iOS

    Wgreigson wrote:

    How can I play MP3 link on my mini iPad Facebook messenger, I have the latest version of iOS

    ask facebook.,.

Maybe you are looking for