![]() |
HTML query
I am required to embed a .pub file in a web page. Whatever I do (I have got rid of the scroll bars) I am left (in the dreaded IE(8) ) with an empty 'scroll channel' (no 'slider' in it and a full image) down the right side of the div block. There is nothing to scroll. I am using scrolling="no". It is not there in Firefox. Any tricks?
|
If I understand correctly, is it a static picture you want to embed? If so, do a screen print, crop and paste.
|
Used that successfully with the last one but current 'pub has a link I am trying to preserve.
|
.pub as in publisher ?
It's not an image ! It's a file like a pdf. Upload it to the server as an independent file and link to it. |
Yup - that's what I have done - refer post #1.
|
You could just use it as a picture as stated before and if there is just one link you want to preserve link the full image.
You could also slice it with Photoshop if you have multiple links. PM me if you want any advise done this many times |
Obviously no easy fix, then - thanks all - I'll stick with the empty scroll bar in IE.
|
Yup - that's what I have done - refer post #1. |
Ah well - I thought "I am required to embed a .pub file in a web page" was clear, but hey ho! :)
|
You've hit the nail on the head.
The commonly accepted technical interpretation of "embedding" involves images / flash files / movies displayed within the page.... i.e. small things that take up a relatively small portion of the display. Because of their size, things like pdfs are more typically not seen as embedded as you typically link to them (e.g. a link to example . com / my.pdf ) and the the PDF reader then displays them within your browser window. That's my point of view anyway ! P.S. it was also not clear what method you were using ... e.g. object, iframe etc. |
<object data=xxx.htm width="850" height="1100"> <embed src=xxx.htm width="850" height="1100" scrolling="no"> </embed> Error: Embedded data could not be displayed. </object>
|
A few ideas worth looking at .....
css - Using html object tag to embed HTML works, but IE7 has scrollbars. - Stack Overflow object with no scrolling? - Web Hosting Talk object & scroll bar [Archive] - WebDeveloper.com Apologies if you've already seen them. |
I had seen those thanks and it is EXACTLY as 'Beach Bum' starts his thread in link 3. Like him I will have to live with it, I guess, since none of the fixes worked. It's a pain having to provide for users with IE!
EDIT: I found a typo of mine on my iframe 'fix' and it actually worked. Many thanks! |
Fraid I'm no HTML expert but does this work correctly in IE8 "compatibility view"?
If so, I think you can submit your site to Microsoft and they will include it in Compatibility List updates, so (unfortunate) IE8 users who have enabled this in the horribly annoying initial config menu will be able to see your site as you intend. |
I would use an iframe
If it's a HTML-document (as indicated by the .htm extension) I would consider an iframe:
Code:
<iframe src="xxx.htm" width="850" height="1100" scrolling="no" |
| All times are GMT. The time now is 12:36. |
Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.