PPRuNe Forums

PPRuNe Forums (https://www.pprune.org/)
-   Computer/Internet Issues & Troubleshooting (https://www.pprune.org/computer-internet-issues-troubleshooting-46/)
-   -   HTML query (https://www.pprune.org/computer-internet-issues-troubleshooting/441524-html-query.html)

BOAC 2nd February 2011 17:06

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?

Spurlash2 2nd February 2011 18:40

If I understand correctly, is it a static picture you want to embed? If so, do a screen print, crop and paste.

BOAC 2nd February 2011 20:28

Used that successfully with the last one but current 'pub has a link I am trying to preserve.

mixture 2nd February 2011 20:46

.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.

BOAC 2nd February 2011 21:25

Yup - that's what I have done - refer post #1.

simountain1 2nd February 2011 22:21

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

BOAC 3rd February 2011 06:22

Obviously no easy fix, then - thanks all - I'll stick with the empty scroll bar in IE.

mixture 3rd February 2011 07:00


Yup - that's what I have done - refer post #1.
To be honest BOAC, your first post was confusing and incomprehensible, hence my statement. :rolleyes:

BOAC 3rd February 2011 12:35

Ah well - I thought "I am required to embed a .pub file in a web page" was clear, but hey ho! :)

mixture 3rd February 2011 14:36

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.

BOAC 3rd February 2011 16:58

<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>

mixture 3rd February 2011 17:34

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.

BOAC 3rd February 2011 18:13

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!

Booglebox 5th February 2011 22:08

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.

wozzo 12th February 2011 09:28

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"
frameborder="0" style="width:850px; height:1100px; border-width:0px;
overflow:hidden">Error: Embedded data could not be displayed.</iframe

This should guarantee a border- and scrollbarless display in all browsers.


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.