I'm wondering what the syntax is (if it exists) for altering the color of a link in the 'td' element of a table in Twine.
I can't use the method I normally use (via the stylesheet), because I'm using nested tables to build a menu system, and trying to wrap just the link with a hook breaks the table. Here's a quick, not fully functioning example:
<span id="replace"><table>
<tr>
<td><<link "Apple">>
<<replace "#replace">>
<table>
<tr>
<td><<link "Red Delicious">><</link>></td>
<td><<link "Golden Delicious">><</link>></td>
<td><<link "Granny Smith">><</link>></td>
<td><<link "Back">><</link>></td>
</tr>
</table>
<</replace>>
<</link>></td>
<td><<link "Orange">><</link>></td>
<td><<link "Banana">><</link>></td>
</tr>
</table></span>
If I try to make the "Apple" link red with my normal method (.red from my stylesheet), I either have to completely wrap it around the link element, preventing me from styling the nested links, or it breaks the table.
I assume a possible solution is styling the link color by the 'td' element, but I've spent quite a while searching online, and can't seem to figure out if that's possible, or the syntax if it is.
This isn't a huge deal for me, but I'm definitely curious if it can be done.