Forum Moderators: open

Message Too Old, No Replies

IFRAME Troubles

CSS Positioning?

         

DarkAngel Guy

8:15 pm on Feb 17, 2006 (gmt 0)

10+ Year Member



Ok ... so ... say I have a table:

<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?

encyclo

9:57 am on Feb 18, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld DarkAngel_Guy!

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. :)

tmayson

5:12 pm on Feb 20, 2006 (gmt 0)



hello...i'm new to making iframes...can anyone tell me how to get rid of the horoz. scrollbar in my iframe...i want the vert. one, but a horoz'l bar keeps showing (in ie browser only, netscape is ok)...help please...