I have an ebook which contains a code like:
Some text (<a id="aref"></a>Some more text) that continues
I need the anchor to refer to this part of the text in the index. However, the tag allows line breaks, so I often end up with a line break right after (
.
Is there a way to prevent these line breaks (putting the anchor before the (
is not an option).
Make your anchor tag inline using the CSS property display: inline
, for example:
<a style="display: inline;" >
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With