PDA

View Full Version : Expadable Tables Help



PixelWill
17-04-2008, 06:57 PM
Hey there,

I'm guessing this is the right place, I'm new to all of this web design and coding stuff so be patient with me..:rolleyes:

I following --ss--'s tutorial for making expandable tables in FrontPage quite well, it kinda went wrong so I tried doing it myself.. I've got it working so far really well.. I say really well, but they only expand when there is either text or a PHP include in them. I can't seem to get them to expand totally like they should when there is an iFrame in it, it expands a little bit but then stops. xD

Here is the code I've got straight fron Frontpage, can anyone see what's wrong with it? It expands when I put text and stuff inside it, but not with iframes..




<html>
<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="527" height="94">
<!-- MSTableType="layout" -->
<tr>
<td height="7" valign="top">
<img border="0" src="top.png" width="527" height="7"></td>
</tr>
<tr>
<td valign="top" height="65">
<!-- MSCellType="ContentBody" -->

<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<!-- MSCellFormattingTableID="1" -->
<tr>
<td bgcolor="#AEAEA7" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
<td valign="top" width="100%">
<!-- MSCellFormattingType="content" -->
<iframe src="writing.txt" width="100%" scrolling="no" frameborder="no"></iframe></td>
<td bgcolor="#AEAEA7" height="100%" width="1">
<img alt="" width="1" height="1" src="MsSpacer.gif"></td>
</tr>
</table>
</tr>
</tr>
<tr>
<td height="22" width="527" valign="top">
<img border="0" src="bottom.png" width="527" height="21"></td>
</tr>
</table>
</body>
</html>


Thanks if anyone could help me<33

iUnknown
17-04-2008, 07:05 PM
There's no code to make the iframe expand...

Decode
17-04-2008, 07:05 PM
I think you need an expandable iframe code.

EDIT: http://www.codingforums.com/showthread.php?t=105985

PixelWill
17-04-2008, 07:07 PM
Oh, i didn't know there had to be one..

anyone know what it is?

thanks<3

EDIT: Looking on Google now.. :']

--ss--
17-04-2008, 07:12 PM
Lol my tutorial is on how to code in Divs not tables ;).

You need this code:
http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

PixelWill
17-04-2008, 07:15 PM
Oh, I've read so many, I must have gotten confused.. Sorry for that. :)

Want to hide these adverts? Register an account for free!