HTML query
Thread Starter
Per Ardua ad Astraeus
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
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?
Joined: Sep 2007
Posts: 20
Likes: 0
From: leeds
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
You could also slice it with Photoshop if you have multiple links.
PM me if you want any advise done this many times
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
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.
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.
Thread Starter
Per Ardua ad Astraeus
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
<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>
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
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.
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.
Thread Starter
Per Ardua ad Astraeus
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
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!
EDIT: I found a typo of mine on my iframe 'fix' and it actually worked. Many thanks!

Joined: Jan 2008
Posts: 970
Likes: 1
From: Timbuktu
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.
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.
Guest
Posts: n/a
I would use an iframe
If it's a HTML-document (as indicated by the .htm extension) I would consider an iframe:
This should guarantee a border- and scrollbarless display in all browsers.
Code:
<iframe src="xxx.htm" width="850" height="1100" scrolling="no" frameborder="0" style="width:850px; height:1100px; border-width:0px; overflow:hidden">Error: Embedded data could not be displayed.</iframe




