Thank you for the suggestions.
I tried some input type code from w3schools
http://www.w3schools.com/tags/att_input_type.asp:
<h2>Header</h2>
<p>text blah, blah, blah</p>
<p><span style="font-size: 12px; line-height: 1.5em;">Download the file1.pdf here:</span>
<input type="file" name="Documents/file1.pdf">
<a style="font-size: 12px; line-height: 1.5em;" href="Documents/file1.pdf" target="_blank"></a></p>
This HTML code asks the user to select a file for upload from their computer, but I need a link to click on to download the pdf file from the MODX website.
Therefore, I tried this code which seems to work for now...
<form method="get" action="Documents/file.pdf">
<button type="submit">Download!</button>
</form>
Unfortunately, the Download button leaves a nasty space after the text saying, Download the file1.pdf here:
Also it's left aligned, so I think I'll have to look up some HTML code to centre it.
What happened to the user friendly old MODX version?
Doesn't look very good :-(
[ed. note: eiger3970 last edited this post 11 years, 8 months ago.]