Would you like to display that in iframe or you want to be imported as html text?
Is there any way to include content from a text file in a web page?
lala
Would you like to display that in iframe or you want to be imported as html text?
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
It would be great to have it as part of the "normal" HTML. But if you do not mind I would like to hear more about both possibilities...
lala
Well, i never tried to make a txt file display in iframe, but since it works with pdf file i think there will be no problem.The normal possibiltie is to copy the content of the text file and paste it betweenHTML Code:<iframe src="the location and the name of the txt file (for instance /files/file.txt" width="suitable value" height="suitable value according to the layout"></iframe>html tags. According to your design and the html standard declaration you may useHTML Code:<p> and </p>in order to insert line breaks.HTML Code:<br> or <br/>
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
I guess there was a misunderstanding:
I meant that I would have a separate text file on the server. The content of that file would be displayed in my web page. If I was to change the content to that particular text file and upload it to the server the content of the web page should be updated accordingly (without the need of copy and paste). A kind of very simple CMS...
lala
Lala in this case i suggest you to install WordPress. It contains a wsywyg text editor and it's a brilliant cms.
█Time may come when you will need a UK e-commerce software
█ecommerce testimonials keresőoptimalizálás
Thank you for your advice![]()
lala
why don't you use php to call the text file?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks