By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,451 Members | 994 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,451 IT Pros & Developers. It's quick & easy.

creating a link to txt file

P: 1
i'm looking to make an index.html where i will create a link to open a text document in a new window. i have used the following code but it doesn't open the text file but it open only .html and .php files.

here is the code
<div style="position:absolute;bottom:0px; text-align:center;left: 450px;"><a href = "code.txt" target= "_blank"> code</a>
</div>

i have try to remove div but stil not working
Feb 13 '12 #1
Share this Question
Share on Google+
1 Reply


sreekandank
P: 45
Try it by removing the <div> tag.
Feb 14 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.