Skip to main content
Participant
July 22, 2011
Question

Robohelp HTML 9 hyperlinks in table cells help

  • July 22, 2011
  • 1 reply
  • 1415 views

Hi,


I'm creating a table in robohelp html 9 and adding hyperlinks in the table cells. If the hyperlink is the first word in that cell robohelp is adding styling code to the link eg <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test</a></td>.

If I add a link to the second word in a table cell the styling does not appear or even if I add a space before the link the code does not appear eg <td>&#160;<a href="#">test</a> </td>.

The code appears when I flick between design and HTML views but it does not make any difference in which view I create the link.

No matter how many times I delete this code is keeps coming back. Can  anyone please help me? Is there some default that gives this the styling  code?Does anyone else get this issue?

A table with the different examples is below. It was created in design view by clicking table>insert table>OK. Links added by clicking the insert hyperlink button.

<table style="border-collapse: separate; border-collapse: separate;" cellspacing="0"
         width="33.333%" border="1">
    <col style="width: 100%;" />
    <tr>
        <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test
         that has the added code</a></td>
    </tr>
    <tr>
        <td>&#160;<a href="#">test with space in front of link</a> </td>
    </tr>
    <tr>
        <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test</a></td>
    </tr>
    <tr>
        <td>A <a href="#">test</a> </td>
    </tr>
</table>

Thanks in advanced

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
July 22, 2011

Try with a new project. I'm not seeing that when I follow your steps.

Also try a different CSS.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
dave_30Author
Participant
July 22, 2011

Thanks Peter,

The current project is new (blank project) and I have tried this on various older projects and even different a PC. There is no CSS attached to the file.

I am just creating a new page, inserting a table, typing test in the table, highlighting the word test, clicking the insert a hyperlink button, putting a # as the link, click ok.

Now when I click HTML view it's fine but if I now click Design view and HTML view again the additional code has been added.

dave_30Author
Participant
July 22, 2011

It is the same with CSS based tables.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge


Thanks Peter, I have filled out a bug report so hopefully there will be a fix soon.

At least I know it's not just me.

The only fix I have for now is to not have the first word in a cell as a hyperlink.