Help - Search - Members - Calendar
Full Version: .pdf in html?
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
faye warren
Hi! I've been trying for ages now to get this working, but I can't seem to get a link to actually show when linking a pdf file on my site. Here is the problem area:
http://www.freewebs.com/burnout2006/stories.html

The "Breuddwyd Yn Y Pellter" text should be showing as a link to the pdf file that is uploaded on my site (the link to it being http://burnout2006.webs.com/Stories/Breudd..._y_Pellter.pdf) For some reason, the Necrotania.com link is also just showing as text. Is this a problem with the CSS or just me being silly with the HTML? Here is the code I have used for the main section of that page, with just an ordinary anchor for the link itself:
CODE
<div id="column1">
<h1>Stories</h1>
<p><i>Under Construction...</i></p>
<p><a hef="http://burnout2006.webs.com/Stories/Breuddwyd_yn_y_Pellter.pdf">Breuddwyd yn y Pellter</a></p>
<p2>A Welsh title which means: "Dreams in the Distance". This is a story that I wrote a few years ago for a monthly competition on <a href="http://www.necrotania.com">Necrotania.com</a>, and managed to win! It's about a wizard called Merfyn who reminisces about a lover of his past, Ceridwen.</p2>
</div>


Thanks in advance for any help you can give me!!!
pandy
It's 'href', not 'hef'. biggrin.gif

"Error: there is no attribute hef for this element (in this HTML version)"
http://www.htmlhelp.com/cgi-bin/validate.c...p;input=yes#L20
faye warren
Gah! I knew it would be some stupid typo like that xD

Thanks for the help!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.