Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

HTML query

Old 2nd February 2011 | 17:06
  #1 (permalink)  
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?
BOAC is offline  
Reply
Old 2nd February 2011 | 18:40
  #2 (permalink)  
 
Joined: Apr 2005
Posts: 366
Likes: 0
From: Earth
If I understand correctly, is it a static picture you want to embed? If so, do a screen print, crop and paste.
Spurlash2 is offline  
Reply
Old 2nd February 2011 | 20:28
  #3 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Used that successfully with the last one but current 'pub has a link I am trying to preserve.
BOAC is offline  
Reply
Old 2nd February 2011 | 20:46
  #4 (permalink)  
 
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
.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.
mixture is offline  
Reply
Old 2nd February 2011 | 21:25
  #5 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Yup - that's what I have done - refer post #1.
BOAC is offline  
Reply
Old 2nd February 2011 | 22:21
  #6 (permalink)  
 
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
simountain1 is offline  
Reply
Old 3rd February 2011 | 06:22
  #7 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Obviously no easy fix, then - thanks all - I'll stick with the empty scroll bar in IE.
BOAC is offline  
Reply
Old 3rd February 2011 | 07:00
  #8 (permalink)  
 
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
Yup - that's what I have done - refer post #1.
To be honest BOAC, your first post was confusing and incomprehensible, hence my statement.
mixture is offline  
Reply
Old 3rd February 2011 | 12:35
  #9 (permalink)  
Thread Starter
Per Ardua ad Astraeus
 
Joined: Mar 2000
Posts: 18,575
Likes: 4
From: UK
Ah well - I thought "I am required to embed a .pub file in a web page" was clear, but hey ho!
BOAC is offline  
Reply
Old 3rd February 2011 | 14:36
  #10 (permalink)  
 
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.
mixture is offline  
Reply
Old 3rd February 2011 | 16:58
  #11 (permalink)  
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>
BOAC is offline  
Reply
Old 3rd February 2011 | 17:34
  #12 (permalink)  
 
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.
mixture is offline  
Reply
Old 3rd February 2011 | 18:13
  #13 (permalink)  
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!
BOAC is offline  
Reply
Old 5th February 2011 | 22:08
  #14 (permalink)  
15 Anniversary
 
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.
Booglebox is offline  
Reply
Old 12th February 2011 | 09:28
  #15 (permalink)  
wozzo
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:

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread

Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.