How do you insert a PDF into an xhtml file without the scroll bars?
And is the object tag better than the embed tag? Is the embed tag becoming deprecated?
thanks!
How do you insert a PDF into an xhtml file without the scroll bars?
And is the object tag better than the embed tag? Is the embed tag becoming deprecated?
thanks!
embed a pdf document
Do did want something like that?Code:<object data="data/test.pdf" type="application/pdf" width="300" height="200"> alt : <a href="data/test.pdf">test.pdf</a> </object>
I did try
and I still got the scrollbars. I can't seem to get rid of them.Code:<object data="FallSuccessDRflyer.pdf#toolbar=0&navpanes=0&scrollbar=0" type="application/pdf" width="100%" height="100%"></object>
Question about:
I thought where it starts alt: <a href="data/test.pdf">test.pdf</a></object>Code:<object data="data/test.pdf" type="application/pdf" width="300" height="200"> alt : <a href="data/test.pdf">test.pdf</a> </object>
was an alternative to the first line of code. Am I wrong?
Wait did that work for you?
Go here http://joliclic.free.fr/html/object-tag/en/
also you can add:
Code:style="overflow-x: hidden; overflow-y: hidden;"
Thanks for trying but no, it didn't work. I still have the scroll bar.
This is what I coded:
here is link to my web page:Code:<object data="FallSuccessDRflyer.pdf#toolbar=0&navpanes=0&scrollbar=0" type="application/pdf" width="100%" height="100%" style="overflow-x: hidden; overflow-y: hidden;"></object>
http://www.speak4success.com/programs2.html
(The page link you sent me "joliclic.free.fr/html/object-tag/en/" is where I got my original coding. I didn't see anything there that helped for deleting a scroll bar.)
Umm first have you tried to change the width and high so it actually fits?
I'll try changing the size. Thought 100% was okay.
try this:
Code:<iframe src="FallSuccessDRflyer.pdf" width="600" height="800" style="border: 0;" scrolling="no"></iframe>
Changing the width and height didn't make a difference. No matter how small I made the image specifications the size of the PDF window was always the same. The scrollbars were always there too.
oh well.
Bookmarks