none
Microsoft HTML Help Workshop (Button Element Problems)

    Question

  • so i am trying to get some nice looking buttons in my Help file. It seems when using the <a> tag inside a <button> does not work.

    does anyone know a work around?

    example code that does not work

    	<button>
    		<a href="ms-its:C:\ConnectionAdvice.chm::/Rheingold.htm"> VOLVO </a>
    	</button>

    with out the <button> element the link works fine like it should, but when nested into the button element the link fails to work. Does anyone know a solution or a work around to this? i really like the buttons i made ;\

    Wednesday, February 24, 2016 9:10 PM

Answers

  • Solved, its incorrect to use <button> tag with <a>.. 

    My workaround 

    	<a class="mBtn" 
    	href="C:\Users\PC\Desktop\ConnectionAdvice\HelpProject\content\Volvo.htm">
    	<span class="buttonspan">Volvo</span> </a>

    • Marked as answer by xNucleuss Wednesday, February 24, 2016 11:48 PM
    Wednesday, February 24, 2016 11:47 PM