I'm also trying to embed my Dokuwiki into an existing web page.
I followed all the advice dispensed in this thread but I'm left with a question. First let me explain what I did:
I inserted the iframe id line from Abacus into my document, and put his
embed.js file into my web directory:
<SCRIPT SRC="embed.js"></SCRIPT>
<iframe id="textframe" src="/wiki/doku.php?id=start" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>
Next I followed the tip from chi to put the following in my wiki
conf/userstyle.css (if it doesn't exist you have to create it):
div.dokuwiki {
width: <your-fixed-width>;
}
I manged to get it working. However it doesn't work without the embed.js and I was wondering if it's also possible to get it to work without Javascript. Does anyone have any idea?