You are here: Re: iframes in cells « HTML « IT news, forums, messages
Re: iframes in cells

Posted by Rik on 07/13/06 10:06

mark.booth77@ntlworld.com wrote:
> Hey Guys,
>
> Its only my second time posting here and the first got no results so
> if
>
> Im doing anything wrong (like posting in the wrong place) I apologise
> now.
>
>
> My problem is this:
> I have an iframe within a table cell.
> I would like buttons to target this iframe.
> The content that loads into the iframe is different sizes, BUT
>
>
> if I put the iframe to 100% and the table to 100% the orginal iframe
> content seems to drop to the middle as if the valign is set to
> center(which it isnt). Also the cell doesnt grow with the new content
> in the iframe and so cuts it off.
>
>
> Basically I think my question is, is it possible to make a cell grow
> depending on the content targeted to the iframe which is nested inside
> the cell?

AFAIK not with straight HTML/CSS: you load a seperate document in an iframe,
and the HTML/CSS in your current document has no idea of the dimensions of
that document.

Maybe there are javascript solutions, but be very carefull with them. You
site should be working with javascript turned of.

Grtz,
--
Rik Wasmus

 

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

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