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

Hi there

What if you have a hidden word as the first word? My thought here is that you could work past it by configuring the first word as hidden. Then have the word with the hyperlink so it would have the appearance that the Hyperlink was the first 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


Thanks Rick, I'll give that ago.