Forum Moderators: open
<table width=100%>
<tr>
<td width = 150>layout menu
<a href="xx1" target="content_stuff">Link 1</a>
<a href="xx2" target="content_stuff">Link 1</a>
<a href="xx3" target="content_stuff">Link 1</a>
</td>
<td width = 600 height = 250>conent area>
<iframe name="content_stuff" width= 595 height = 245>
</td>
</tr>
<tr>
<td>
This row does not display unless I remove the IFRAME.
WHYYYYYY?
This should work just fine.
Anyone know why it doesn't?
</td>
<table>
What I am trying to do now is to put the IFRAME outside of the table and then use div's as place markers, like so:
<table width=100%>
<tr>
<td width = 150>layout menu
<a href="xx1" target="content_stuff">Link 1</a>
<a href="xx2" target="content_stuff">Link 1</a>
<a href="xx3" target="content_stuff">Link 1</a>
</td>
<td width = 600 height = 250>conent area>
<div id="PlaceMarker"></div>
</td>
</tr>
<tr>
<td>
This row does not display unless I remove the IFRAME.
WHYYYYYY?
This should work just fine.
Anyone know why it doesn't?
</td>
<table>
<div id="FloatFrame>
<iframe name="content_stuff" width= 595 height = 245>
</div>
now ... if in regular VB6 I would ...
With FloatFrame
.Top = PlaceMarker.Top
.Left = PlaceMarker.Left
End With
And this would put the frame where I want it to be.
It's nto working either.
I'm this close to committing suicide here.
Anyone care to comment on how I can avoid the afterlife here?
A couple of things here: the first is minor - you should really be quoting all of your attribute values to avoid problems: for example
width=[b]"100%"[/b] or at least avoid spaces between the attribute name and the value. The reason why your second row is not displaying is because you are minning the end tag from your
iframe: <iframe name="content_stuff" width="595" height="245">[b]</iframe>[/b] It is always a good idea to check out your page with the HTML validator [validator.w3.org] to pick up on such markup errors. :)