Multi-line text link in header
Автор: Jon C.
Просмотрено 880,
Подписчики 2,
Размещенный 0
How is a multi-line text link added to the header and the font set to Verdana?
Adding a HTML item works for the link but the font can not be set as HTML5 does not use the font tag.
Размещено
Hello Jon,
You need to use CSS for this, by giving your hyperlink a class and then styling that class. You can either add it your stylesheet, or do it simply inline as follows:
<a href="http://google.com"><span style="font-family: verdana;">This is a<br />multiline text link<br />to Google</span></a>
Kind regards,
Paul
Автор
Good morning Paul,
Thank you for your advice. I see that CSS is slightly different to Html, I must admit has been a while since I have needed to use it. Was using XSitePro and rarely needed to manually add or modify code as needed in X5. Reminds me a bit of when we started with web sites, writing code in Notepad.
Here is what I ended up with.
<a href="order-trial-dvd.html"><center>
<span style="font-family: verdana; font-size: 10px; ">CLICK HERE TO <br>ORDER DEMO & <br>TRIAL DVD</span></a>
</a></center>
Many thanks
Jon