Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > DIV at 100% in a iframe

Reply
Thread Tools

DIV at 100% in a iframe

 
 
vincent.marguerit@gmail.com
Guest
Posts: n/a
 
      07-24-2007
Hi there!

I have troubles with divs, I can't make it be at 100% in a iframe. And
yet a table can take 100% of the iframe.
Look:

http://boxfly.free.fr/tmp/div_100/div_100.html

And the source of the iframe is here:
http://boxfly.free.fr/tmp/div_100/di...es/iframe.html

The div are like that:
<div class="form-line-header">
<div class="form-line-white-left"> File </div>
<div class="form-line-white-right"><input type="file"></div>
</div>

And form-line-header is set to 100% and yet it does not take the 100%
of the iframe !

So I tried with a table, and it works well, but I am not allowed to
use table

Does anyone know why it does not work ?

Thanks,
Vincent.

 
Reply With Quote
 
 
 
 
dorayme
Guest
Posts: n/a
 
      07-24-2007
In article
<. com>,
wrote:

> So I tried with a table, and it works well, but I am not allowed to
> use table


Not allowed? By whom?

--
dorayme
 
Reply With Quote
 
 
 
 
vincent.marguerit@gmail.com
Guest
Posts: n/a
 
      07-24-2007
On 24 juil, 10:15, dorayme <doraymeRidT...@optusnet.com.au> wrote:
> In article
> <1185268071.303544.225...@w3g2000hsg.googlegroups. com>,
>
> vincent.margue...@gmail.com wrote:
> > So I tried with a table, and it works well, but I am not allowed to
> > use table

>
> Not allowed? By whom?
>
> --
> dorayme


My boss
So I have no choice, I have to get used with divs...

 
Reply With Quote
 
Bernhard Sturm
Guest
Posts: n/a
 
      07-24-2007
wrote:
>
> The div are like that:
> <div class="form-line-header">
> <div class="form-line-white-left"> File </div>
> <div class="form-line-white-right"><input type="file"></div>
> </div>
>
> And form-line-header is set to 100% and yet it does not take the 100%
> of the iframe !
>


how about turning off the scrollbars in your iframe (scrolling="no")?
and why do you need an iframe at all?

HTH
bernhard


--
www.daszeichen.ch
remove nixspam to reply
 
Reply With Quote
 
vincent.marguerit@gmail.com
Guest
Posts: n/a
 
      07-24-2007
On 24 juil, 10:17, Bernhard Sturm <sturmnixs...@datacomm.ch> wrote:
> vincent.margue...@gmail.com wrote:
>
> > The div are like that:
> > <div class="form-line-header">
> > <div class="form-line-white-left"> File </div>
> > <div class="form-line-white-right"><input type="file"></div>
> > </div>

>
> > And form-line-header is set to 100% and yet it does not take the 100%
> > of the iframe !

>
> how about turning off the scrollbars in your iframe (scrolling="no")?
> and why do you need an iframe at all?
>
> HTH
> bernhard
>
> --www.daszeichen.ch
> remove nixspam to reply


I need the scroll bar 'cos sometimes the page inside the iframe is
bigger...
I didn't choose to use an iframe, my boss did

Vincent.

 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      07-24-2007
Well bust mah britches and call me cheeky, on Tue, 24 Jul 2007 09:07:51 GMT
scribed:

> Hi there!
>
> I have troubles with divs, I can't make it be at 100% in a iframe. And
> yet a table can take 100% of the iframe.
> Look:
>
> http://boxfly.free.fr/tmp/div_100/div_100.html
>
> And the source of the iframe is here:
> http://boxfly.free.fr/tmp/div_100/di...es/iframe.html
>
> The div are like that:
> <div class="form-line-header">
> <div class="form-line-white-left"> File </div>
> <div class="form-line-white-right"><input type="file"></div>
> </div>
>
> And form-line-header is set to 100% and yet it does not take the 100%
> of the iframe !
>
> So I tried with a table, and it works well, but I am not allowed to
> use table
>
> Does anyone know why it does not work ?


The example you give seems to work. Do you have an example of the page
which doesn't work?

--
Neredbojias
Half lies are worth twice as much as whole lies.
 
Reply With Quote
 
vincent.marguerit@gmail.com
Guest
Posts: n/a
 
      07-24-2007
On 24 juil, 10:33, Neredbojias <monstersquas...@yahoo.com> wrote:
> Well bust mah britches and call me cheeky, on Tue, 24 Jul 2007 09:07:51 GMT
> scribed:
>
>
>
> > Hi there!

>
> > I have troubles with divs, I can't make it be at 100% in a iframe. And
> > yet a table can take 100% of the iframe.
> > Look:

>
> >http://boxfly.free.fr/tmp/div_100/div_100.html

>
> > And the source of the iframe is here:
> >http://boxfly.free.fr/tmp/div_100/di...es/iframe.html

>
> > The div are like that:
> > <div class="form-line-header">
> > <div class="form-line-white-left"> File </div>
> > <div class="form-line-white-right"><input type="file"></div>
> > </div>

>
> > And form-line-header is set to 100% and yet it does not take the 100%
> > of the iframe !

>
> > So I tried with a table, and it works well, but I am not allowed to
> > use table

>
> > Does anyone know why it does not work ?

>
> The example you give seems to work. Do you have an example of the page
> which doesn't work?
>
> --
> Neredbojias
> Half lies are worth twice as much as whole lies.


Oh!
It does not work with me, I am under Mac OS X and using Firefox and
Safari, for both the div is not taking 100% of the iframe, the table
does !
Are you using IE ? Does that work with IE ?

 
Reply With Quote
 
vincent.marguerit@gmail.com
Guest
Posts: n/a
 
      07-24-2007
On 24 juil, 10:37, vincent.margue...@gmail.com wrote:
> On 24 juil, 10:33, Neredbojias <monstersquas...@yahoo.com> wrote:
>
>
>
> > Well bust mah britches and call me cheeky, on Tue, 24 Jul 2007 09:07:51 GMT
> > scribed:

>
> > > Hi there!

>
> > > I have troubles with divs, I can't make it be at 100% in a iframe. And
> > > yet a table can take 100% of the iframe.
> > > Look:

>
> > >http://boxfly.free.fr/tmp/div_100/div_100.html

>
> > > And the source of the iframe is here:
> > >http://boxfly.free.fr/tmp/div_100/di...es/iframe.html

>
> > > The div are like that:
> > > <div class="form-line-header">
> > > <div class="form-line-white-left"> File </div>
> > > <div class="form-line-white-right"><input type="file"></div>
> > > </div>

>
> > > And form-line-header is set to 100% and yet it does not take the 100%
> > > of the iframe !

>
> > > So I tried with a table, and it works well, but I am not allowed to
> > > use table

>
> > > Does anyone know why it does not work ?

>
> > The example you give seems to work. Do you have an example of the page
> > which doesn't work?

>
> > --
> > Neredbojias
> > Half lies are worth twice as much as whole lies.

>
> Oh!
> It does not work with me, I am under Mac OS X and using Firefox and
> Safari, for both the div is not taking 100% of the iframe, the table
> does !
> Are you using IE ? Does that work with IE ?


Ok! I did it, now it's working well I will ask for a promotion

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com C Programming 5 04-25-2012 08:49 PM
Div inside an iframe - how to set height relative to the iframe's visible size? Joe Attardi Javascript 0 01-17-2006 08:01 PM
100% TABLE + 100% ROW + 100% DIV..? fred Javascript 3 03-17-2005 04:25 AM
Need to get offsetLeft of an iframe or div inside another iframe Nathan Carr Javascript 0 09-17-2004 01:27 PM
Get form values from iframe (1) to iframe (2) inside a layer in iframe (1) Daedalous Javascript 3 01-16-2004 11:08 AM



Advertisments