|
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
[Back to original message]
|