Internal Links in HTML Document Not Working Correctly in PDF

I have an HTML document that contains internal links (basically a Table of Contents). When the document is displayed in a browser, the internal links work correctly. However, when I use Acrobat 8 Professional to create a PDF version from the HTML source, the links don't go to the correct place when clicked. It almost appears that they are off by one, e.g., link 7 goes to anchor 8. I can send the source document for you to look at if you email me at eharris -at- synnovation.com. I am not expert in HTML and perhaps the links/anchors are not done correctly when I create the HTML document. Does anyone have any ideas on this?

This one has the same problem. For instance, "Anchor1" as <a name="Anchor1"> appears 13 times. I am sure that your problem is that Acrobat is going to the last occurance that is just before the first one. As I scan through the file I find similar results for all of the anchors. When I used Tidy, it reduces about 1350 errors to about 474, but that is still not too good. The validator is flagging a lot of identical IDs as well as unrecognized attributes (like ONSELECTSTART). The attributes correctly accepted by body are
Attribute Specifications
* BACKGROUND=URI (background image for document)
* BGCOLOR=Color (background color for document)
* TEXT=Color (text color for document)
* LINK=Color (link color for document)
* VLINK=Color (visited link color for document)
* ALINK=Color (active link color for document)
* ONLOAD=Script (document has been loaded)
* ONUNLOAD=Script (document has been exited)
as listed on htmlhelp.com for HTML 4. There may be some new ones in HTML 5, but I did not check.
I am not looking at all of your HTML in detail, but there appears to be a lot of unneeded things based on the error messages from the validator. Many browsers will let you display the stuff (even Acrobat), but there may be errors that crop in when you do not expect it or on some other browsers that the one you check. Thus again, you should use a validator. If you are only off a few tags that might be fine, but when it is in the 1000s, there is an issue. It would also be good to break your page up into parts. It is good practice on web pages for each page to be not much more than one screen. That is often exceeded, but 59 screens of info (on my screen) is a bit much. The TOC is definitely needed in that case, but just was well go to a sub page just as well and make the info easier to track. A PDF (as you are trying to get) could be made of the entire system for those that want it all in one bit. Bill

Similar Messages

  • Anchor links in HTML newsletters not working in iOS8 and above

    I used to receive daily HTML email newsletters with links anchor down to detailed content. The links were working fine in all the previous versions. After upgrading to iOS 8, the internal hyperlinks (anchor links - both named as well as id) are not working. It takes me to nowhere and shows an error message id. This seems to be very specific with iOS 8 and there is no HTML code support to overcome this issue.
    Can Apple fix this issue at the earliest as it is very difficult to scroll up and down every time to read the contents of the email newletters?

    I used to receive daily HTML email newsletters with links anchor down to detailed content. The links were working fine in all the previous versions. After upgrading to iOS 8, the internal hyperlinks (anchor links - both named as well as id) are not working. It takes me to nowhere and shows an error message id. This seems to be very specific with iOS 8 and there is no HTML code support to overcome this issue.
    Can Apple fix this issue at the earliest as it is very difficult to scroll up and down every time to read the contents of the email newletters?

  • Windows Live Mail ?   Links to this forum not working correctly.

    I got a new computer running Windows 7 and have been using Windows Live Mail.
    This is where I get my e-mails for updates to messages on this forum.
    The link for the message thread has a link that includes the # sign with the correct message to go to on the page.
    Now with Windows Live when I click the link it leaves the number after the # sign and just goes to the top of the thread instead to the exact comment.
    I can copy and paste the link into a browser and it works fine but if I just click it it does not work like it used to with Outlook Express.
    Any ideas if this might be fixable.
    Thanks:  GLenn

    I still have outlook express running on my OLD SLOW windows XP
    My new Windows 7 only has Windows Live Mail so I have to use it unless I get another program.
    I just thought that someone here might have figured it out.
    I dont know what the extra part after the # sign is called so i havent been luck searching google for an answer.
    Here is the link to your message:
    http://forums.adobe.com/message/2965072#2965072
    but when I click it it just puts this link in the browser:
    http://forums.adobe.com/message/2965072
    it does work but just takes me to the top of the thread.
    Im not sure why it doesnt use the part with the # and number that follows it.
    It does see it and if hover over it it sees the whole link.
    Just something new to figure out.
    I will try a Windows Live Forum too but if anyone knows any hints that would be great too.
    Thanks:  GLenn

  • Why is my Microsoft Word document not working correctly with Pages

    I have created a new CV (Resume) in Microsoft Word on my work computer, it is using the latest version of Office. When I attempted to open the document in Pages on my home Mac, the formatting was slightly incorrect, but the main issue is it is missing two pages! The exact same document when opened in Word has three pages but in Pages, it only has one! I have had nothing but problems with Pages since I bought it! Can someone please help me get Pages to work correctly with my documents that are created in Word! Than you.

    Pages does not allow a single cell in a table to span more than a page and there may be other problems that you also have not told us about.
    Redo your CV using the excellent Pages templates, Word's templates are Uuuugly!
    Being text based, with good typographical layout, those Pages templates should translate accurately back and forth from Pages to Word.
    Frankly CVs don't require anything fancy. You could do an excellent, well laid out and very attractive CV in TextEdit which is no slouch in the word processing department.
    Peter
    PS Start off by saving your Word CV to .rtf or .txt which will strip off most of the bad formatting. Then reopen it in Pages or drag in the snippets of text into a Pages CV template's placeholders to automatically format the text nicely.

  • Links in HTML TextField not working well on iPad

    Hi there;
    I've got a TextField with html in it that has anchors that call out to Flash functions using the href="event:" mechanism.
    It works 100% fine when I test my fla on my Mac... ie. Clicking on the links is responsive, and all works as expected.
    When I publish this to the iPhone or iPad, the links work, but only after I click them 2 or 3 times. It *seems* like the stroke of the font is the only clickable part.... It feels like clicking in the center of a letter "O" wouldn't work, and clicking the strokes of the letter "O" would...
    The links are very big... and there are about 20 of them on the page.
    Has anyone else run into this problem? I've tried using css styles to set display:block, but that didn't seem to help!
    Thanks,
    Brad

    had this all typed in earlier today just when we had a major power outage and lost it, plus restraining myself from tossing the IPAD and sticking to Android mobile!
    anyways, per your message, tried to rework my app here as well and this method seems to work for me with item still to be worked out per notes below.
    overview:
    using TLF CS5.5
    use TouchEvent listener on my containers to return textline being touched
    once touched, loop through all spans and if parent is a link, get the textline associated with that link
    if match then jackpot, return,
    some rough code below,
    where this fails is when my link rambles over several lines and it's only recognizing the first line of the link. Otherwise, all links in all containers respond well.
         function taphandler(event:TouchEvent): void {
           var leaf:SpanElement;
           var link:LinkElement;
           var absoluteStart:int;
           var matchTextLine:TextLine;
           leaf = SpanElement(TLF2.textFlow.getFirstLeaf());
           while (leaf = SpanElement(leaf.getNextLeaf())) {
             link = leaf.getParentByType(LinkElement) as LinkElement;
             if (link != null){
               absoluteStart = link.getAbsoluteStart();
               matchTextLine = link.getTextFlow().flowComposer.findLineAtPosition(absoluteStart).getTextLine(true);
                if(matchTextLine==event.target){
                  //JACKPOT! use link.href         
                  return;
    i welcome any input to code (i think i miss out if i have a link in first span which I should not have but..) and how to get at the second, third, fourth,.. lines of the link.  hopefully someone in the TLF area can explain the quantity and hierarchy of the objects of the links that are spread over many lines since from a user perspective we just see text, mind you high quality and very intelligent text and Adobe should be commended.
    UPDATE:
    as it worked above, a sample textline with plain text and 3 links, clicking anywhere on the textline always gives me link#1 unfortunately.
    seems like I need a for loop just before the matchTextLine that iterates i=(link.parentRelativeEnd-link.parentRelativeStart) times, then must do a GetAtomBounds LocalToGlobal compare to Stage.x then modify the line if(matchTextLine==event.target){  to if(matchTextLine==event.target&&thisLinkIsAtX==true){      ouch I hope I don't have to do all this..
    Message was edited by: hiteck7

  • Link in HTML Portlet not working

    I have a HTML Portlet which has the following code
         Back to Top
    This link works fine in a stand alone html file. On click of 'Back to Top', it takes to top of the document. But if the code is embedded in html portlet, it takes to previous page accessed. I understand that the portlet is not able to understand that it needs to go to top of the object. How to fix this?

    Hi Sakthi,
    When you hower over the Back To Top link, what does it show in the status bar? Is it just prepending #top to your existing browser link? Or is it pointing to the previous page?
    Secondly as Ido mentioned, you could always embed an anchor on your page template and refer to it.
    As far as javascript is concerned, you could try something like document.scrollTo(0,0);
    I am not sure if it works on IE and Firefox the same or not, but you could give it a shot.
    thanks,
    Harsha

  • CSS Button Links in HTML email not working in TB

    Greetings,
    Our company is creating an html email for customers and we are noticing the CSS button links don't work when viewing in Thunderbird 31 and 32 beta.
    Does TB require unique coding to get these to work?
    Any assistance would be appreciated...
    -- Paul

    From the point of view of a user who views received email messages in Thunderbird, it doesn't support scripting. Straight links should work and and you can attach a link to an image.
    Note that Thunderbird does NOT offer active links in the Compose window. So however you create it, you won't see it as the recipient does unless you save it and view it as a draft.

  • LaserJet Pr0 200 color MFP M276nw Touch Screen not Working correctly

    Hello, I'm having an issue with a LaserJet Pr0 200 color MFP M276nw Touch Screen not Working correctly. I have followed the instructions to reset the printer, but now am unable to select 'English' as my language because every time I select the 'English' option 'Spanish' is selected. I am then given two options to select 'Si' or 'No' both of which can not be selected on the touch screen?
    Anybody know of a way round this?

    Hi @dnhowes ,
    I see that you are having issues with the touch screen not working correctly. I will do my best to help you.
    Make sure the printer is connected directly to a wall outlet. (don't use a power hub or a surge protector) This ensures the printer is receiving full power and may help this situation.
    Was it the Nvram reset back to factory settings that you tried or a hard reset?
    Try selecting the option on the display a little higher above the icon to see if that helps. Some touch screens are finicky.
    I find that on the Lab printers when I am selecting different menus.
    If the issue continues, please call our technical support at 800-474-6836 for further assistance. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Anchor links to accordion panels not working properly across browsers

    Hi everyone,
    I need some help to figure out why my anchor links  to specific accordion panels on another page are not working properly  across browsers.
    I have a Map page which has tooltips on  mouseover on the site markers. 15 of the tooltips have "Click here for  information" anchor links (although only 14 are currently linked) which,  in theory, would take you to the Nurseries page where the specified  accordion panel would be opened with the nursery entry appearing at the  top of the new browser window.
    Here are the links to the Map page and Nurseries page, respectively:
    www.alegriadesignstudio.com/RFRI/map_v6.html
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html
    I've  tested the anchor links on IE, Firefox, Google Chrome, and Safari, and  have received varying results. In most cases, the anchor links worked  perfectly on two of the browsers, while on the other browsers, the  correct accordion panel is opened but the nursery entry does not appear  at the top of the new browser window. Anchor links using Safari and  Google Chrome fared better (10 out of 14 links worked properly, and  8/14, respectively), whereas when using Firefox and IE, only 3 anchor  links worked properly. The target audience for this website will be  using IE and Firefox, so I  would appreciate any help to figure out how to tweak the code so that  the most, if not all, anchor links work properly on these two browsers  in particular.
    Here's an anchor link which worked perfectly in  IE, GC, and Safari, but in FF, the entry did not appear at the top of  the new browser window.
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem
    http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?luzon=9#mangatarem [To access the anchor link on the Map page, mouseover the third green  dot from the top of the map (Tooltip--Location: Mangatarem) and then  click on "Click here for information."]
    Here's a sample anchor link in which the entry did not appear at the  top of the new browser window in any of the 4 browsers:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?mindanao=4#magpetAmabel [To access the anchor link on the Map page, go to "Mindanao" at the  bottom of the map and mouseover the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION:        Brgys. Amabel, Bongolanon, Imamaling, & Manobisa; Magpet;        North Cotabato) and then  click on "Click here for information."]
    Here's a sample anchor  link in which the anchor link worked properly in GC and Safari, but the  entry didn't appear at the top of the browser window in IE and FF:
    www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar
    http://http://www.alegriadesignstudio.com/RFRI/nurseries_v6.html?visayas=1#bilar [To access the anchor link on the Map page, go to the small island  north and a bit west of "Mindanao" which is called "Bohol" and mouseover  the fourth green  dot below the word "Mindanao" (Tooltip--LOCATION: Bilar; Bohol) and then   click on the first "Click here for information."]
    Many thanks in  advance for your assistance!
    Joy

    Hi everyone,
    I'm still trying to figure out how to resolve the problem of anchor links to accordion panels not working properly across browsers (see original post for details). I would greatly appreciate any suggestions on how to resolve the problem.
    Many thanks in advance.
    Joy

  • Internal speakers and headphones are not working

    I have hp g6 2231tx os Windows 8, brought it a month ago..now it's internal speakers and headphones are not working..I enabled in playback device from sound mixer and reinstalled drivers but still not working..it's because of hardware or software??

    Hi,
    It could be either Hardware or Software related, so try the following and let me know.
    Download the IDT Audio installer on the link below and save it to your Downloads folder.
    http://ftp.hp.com/pub/softpaq/sp58501-59000/sp58517.exe
    When done, open windows Control Panel, open Device Manager and open up Sound, Video and Game Controllers.  Right click the IDT device and select Uninstall - you should also get a prompt to remove the current driver, tick the box to allow this and then proceed with the uninstall.
    When complete, shut down the notebook, unplug the AC Adapter and then remove the battery.  Hold  down the Power button for 30 seconds.  Re-insert the battery and plug in the AC Adapter.
    Tap away at the esc key as you start the notebook to launch the Start-up Menu and then select f10 to enter the bios menu.  Press f5 to load the defaults ( this is sometimes f9, but the menu at the bottom will show the correct key ), use the arrow keys to select 'Yes' and hit enter.  Press f10 to save the setting and again use the arrow keys to select 'Yes' and hit enter.
    Let Windows fully load - it will automatically load an audio driver, but just let this complete.  Then open your Downloads folder, right click on the IDT installer and select 'Run as Administrator' to start the installation.  When this has completed, right click the speaker icon in the Taskbar and select Playback Devices.  Left click 'Speakers and Headphones' once to highlight it and then click the Set Default button - check if you now have audio.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Keyboard not working correctly after updating to 8.1 64bit pro.

    Keyboard not working correctly after updating to 8.1 64bit pro.
    After I updated, everything seemed ok and then all of the sudden I rebooted and only the f1 – f12 row would work. I resorted to resorted to unplugging and removing the battery and it would work for a short amount of time. This has been reported on other laptops as well, see here.
    http://answers.microsoft.com/en-us/windows/forum/w​indows8_1-hardware/windows-81-keyboard-problem-cou​...
    I think it can be solved with a driver update from hp or the keyboard builder but none is online.

    Hi,
    Please put the units product no. in the link and check if your PC is tested by HP with Windows 8.1
    http://www8.hp.com/us/en/ad/windows-8/upgrade.html
    Let me know if you need more help.
    I am an HP employee.
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on “Kudos” STAR to say thanks!***

  • I have a manual that contains headings and index entries that contain less than and greater than characters, and . The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the C

    I have a manual that contains headings and index entries that contain less than and greater than characters, < and >. The Publish to Responsive HTML5 function escapes these correctly in the main body of the text but does not work correctly in either the Contents or the Index of the generated HTML. In the Contents the words are completely missing and in the index entries the '\' characters that are required in the markers remain in the entry but the leading less than symbol and the first character of the word is deleted; hence what should appear as <dataseries> appears as \ataseries\>. I believe this is a FMv12 bug. Has anyone else experienced this? Is the FM team aware and working on a fix. Any suggestions for a workaround?

    The Index issue is more complicated since in order to get the < and > into the index requires the entry itself to be escaped. So, in order to index '<x2settings>' you have to key '\<x2settings\>'. Looking at the generated index entry in the .js file we see '<key name=\"\\2settings\\&gt;\">. This is a bit of a mess and produces an index entry of '\2settings\>'. This ought to be '<key name=\"&amp;lt;x2settings&amp;gt;\" >'. I have tested this fix and it works - but the worst of it is that the first character of the index entry has been stripped out. Consequently I cannot fix this with a few global changes - and I have a lot of index entries of this type. I'm looking forward to a response to this since I cannot publish this document in its current state.  

  • Home button in HTML Help Not Working

    My Home button in HTML Help Not Working.
    Also the Home option from the Options menu does not work. I receive the "This program cannot display the webpage" error.
    I have the correct file name (titlepg.htm) in the Advanced Windows Ptoperties "Default" field and the "Home" field. However, I still receive the "This program cannot display the webpage" error.
    How can I correct this situation? Thanks, your help is appreciated!

    Can you post a couple of screen captures please?
    One where you show the Project Explorer with the desired topic in view. Another where you show the dialog where you specify the Home page destination.
    Another thing you may wish to try is to define a totally new window, assign the values there and ensure you point to the window in the Single Source Layout recipe.
    Oh, and one other thing. Are you using RoboHelp HTML or RoboHelp for Word?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Moblie site not working correctly

    hello
    i am using muse and BC,  with my web site westfieldsautocentre.co.uk and very happy with it, until tried to do add mobile one.
    it ends up looking all wrong when i view it on my iphone
    please use this link to see -  Westfields Auto Centre
    but if i publish the very same site to a fresh BC site it is OK
    Please use the link to see -   http://wacmoblie.businesscatalyst.com/index.html
    is it some thing wrong with BC or MUSE
    please help
    paul

    Sorry Zak
    I do not understand, i have check my domain settings and re-link it as per info, but still not working correctly,
    If i type in on my iPhone just westfieldsautocentre.co.uk . it is redirect the home page from my desktop to the mobile homepage but not sizing the page correctly as per mobile site should do,
    but upload the same site to a fresh BC site all is ok,
    From that i can see its something to do with my domain name link to my site.
    But do not understand what  "redelegate your domain name to point to your site on Business Catalyst" means.
    Is there anyway you can put this in more simple terms that a car mechanic can understand or should i keep to repairing cars
    kind regards
    Paul

  • If statement within a view is not working correctly ?

    Hi all,
    maybe i am wrong but i think the if statement within a view is not working correctly. See code down below.
    I would like to use the Hallo World depending on the page attribute isFrame with or without all the neccessary html tags. Therefore i have embedded the htmlb tags in an if statement. But for any reason if isframe is initial it isn't working. It would be great if anybody could help me.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if not isframe is initial. %>
      <htmlb:content design="design2003">
         <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    hallo world
    <% if not isframe is initial. %>
         </htmlb:page>
      </htmlb:content>
    <% endif. %>
    thanks in advance and best regards
    Matthias Hlubek

    Matthias,
    The short answer: your example is <b>NOT</b> going to work. The long answer will probably 5 pages to describe. So first let me rewrite the example so that it could work, and then give a short version of the long answer. Do not be disappointed if it is not totally clear. It is rather complicated. (See the nice form of IF statements that are possible since 620.)
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <% if isframe is <b>NOT</b> initial. %>
    <htmlb:content design="design2003">
      <htmlb:page title = "Top Level Navigation view">
        hallo world
      </htmlb:page>
    </htmlb:content>
    <% else. %>
      hallo world
    <% endif. %>
    So why does your example not work? Let us start with a simple tag:
      <htmlb:page title = "Top Level Navigation view">
      </htmlb:page>
    Now, for each tag, we have effectively the opening part (<htmlb:page>), an optional body, and then the closing part (</htmlb:page>). We are now at the level of the BSP runtime processing one tag. What the runtime does not know, is whether the tag wants to process its body or not. Each tag can decide dynamically at runtime whether the body should be processed. So the BSP compiler generates the following code:
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
      ENDIF.
      tag->DO_AT_END( ).
    You should actually just debug your BSP code at ABAP level, and then you will immediately see all of this. Now, let us mix in your example with our code generation. First you simplified example:
    <% if isframe is NOT initial. %>
      <htmlb:page title = "Top Level Navigation view">
    <% endif. %>
    <% if isframe is NOT initial. %>
      </htmlb:page>
    <% endif. %>
    And then with our generated code. Look specifically at how the IF/ENDIF blocks suddenly match!
    if isframe is NOT initial.
      DATA: tag TYPE REF TO cl_htmlb_page.
      CREATE OBJECT tag.
      tag->title = 'Top Level Navigation view'.
      IF tag->DO_AT_BEGINNING( ) = CONTINUE.
    endif.
    if isframe is NOT initial.
      ENDIF.
      tag->DO_AT_END( ).
    endif.
    You can see that your ENDIF statements are closing IF blocks generated by the BSP compiler. Such a nesting will not work. This is a very short form of the problem, there are a number of variations, and different types of the same problem.
    The only way to solve this problem, is probably to put the body into a page fragment and include it like I did above with the duplicate HelloWorld strings. But this duplicates source code. Better is to put body onto a view, that can be processed as required.
    brian

Maybe you are looking for

  • Windows Server 2008 R2 Nesth problem

    Hi All, I need to setup a network of Windows Server 2008 R2 machines in Hyper-V (for learning SQL Server). I have succsselly setup the domain controller and 4 other servers. However, the last server is a Core editition and Netsh gives me 'Element not

  • Number of Element

    In OBIEE , what does No of Element stands for and how to find the correct value for it . ? Thanks

  • What are these values after importing raw formats?

    Hello, I am using Lightroom 5.7, and I import .nef files (Nikon D800). I import the .nef files without any Quick Develop settings (set to 'None'). My default presets are not specific to the camera serial number, and also not specific to the camera is

  • Mismatch in connection between session and cmpentity beans

    Hello everybody, I have a adopted JSP----SessionBeans------CMPEntityBeans------Database (MVC2). I have findByIdandPasswd(String id,String passwd) method in Entity's LocalTurbineUserHome its return type is Collection. This method is called in my sessi

  • BB 8520 @ MTN - BB APP WORLD DISAPPEARED.

    I have upgraded BB8520 TO V.5 AND.... the BB App World and the n Browser has disappeared.I decided to RESET the BB and reinstall The BB HANDHELD SOFTWARE onto my Phone via the DESKTOP Software. I have even downgraded the OS to version:4.6 and same.On