You are here: Re: open pdf files into the browser « HTML « IT news, forums, messages
Re: open pdf files into the browser

Posted by dorayme on 10/24/07 15:49

In article
<1193218368.194498.109710@t8g2000prg.googlegroups.com>,
alessandro.bernardini.1979@gmail.com wrote:

> I found that the use of frames works well for my purpose of opening
> pdf files as a part of the browsers-window.
>
> Look at following code:
> ----------------------------------------------------------------------------
>
> <!DOCTYPE HTML PUBLIC "

....
> <iframe src="http://www.rz.uni-osnabrueck.de/Zum_Nachlesen/
> Skripte_Tutorials/WebPublishing/html.pdf" width="90%" height="400"
> name="SELFHTML_in_a_box">
> <p>Ihr Browser kann leid
....
> ------------------------------------------------------------------------------
> -----
>
> it works.
> I now have two questions:
> a) how can i set the width and height dynamically, referencing to the
> actual windows size ?

I have not been following this thread and not perfectly sure what
you are asking but it sure looks and behaves more sensibly in my
browsers if you were to use

width="100%" height="100%"

instead of your

width="90%" height="400"

And perhaps think of some way not to take up so much headspace
with your:

<h1>Fenstergucker</h1>

<p>Gucken Sie mal SELFHTML im Fenster an:</p>

You might find better than to

<h1 style="display:inline;">Fenstergucker</h1>

<p style="display:inline;">Gucken Sie mal SELFHTML im Fenster
an:</p>

?

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация