• my WordPress authored website llewellynlee.com is hosted on Fatcow server.
    i have a brochure and as I did not know how to import it to a webpage I converted it to pdf then took ,jpg pictures of each page and posted the pics on the page. that worked well but the text is not searchable.
    I have just found that my TEXT editor program (its called LYX) can export a .lyx file to HTML. I did the export with brochure.lyx and got 2 files
    Brochure.html and brochure .css. If I click on the brochure html file it opens with my web browser.
    Can some kind person please tell me how i get these two files to work in a web page. I think I could copy the HTML file into the page but exactly where the code fits I do not know and where do I put its css file

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yes, you should be able to copy the contents of the HTML file into a page. You can also copy the contents of the CSS file into the page as well, as long as you surround it with <style> … </style> tags. So try creating a page, paste in the contents of your CSS file first (surrounded by <style> … </style>), then follow with the contents of your HTML page.

    A couple of warnings:

    1. Make sure you use the text editor and not the visual editor when you create or edit the page.
    2. The only thing you should need from the HTML file is what is between the <body> and </body> tags (and don’t include the <body> tags); don’t copy anything else. Hopefully there aren’t any references to external files besides the CSS file that you’re already going to embed.
    Thread Starter llewellynlee

    (@llewellynlee)

    thankyou lots for the help

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to install an html file and its css to my website page.’ is closed to new replies.