Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

align table in iframe

Status
Not open for further replies.

sandeepmur

Programmer
Joined
Dec 14, 2003
Messages
295
Location
PT
I am posting contents of a form to an iframe. THE problem is that the content appears somewhere in the middle of the iframe instead of at the top..

I hv set align="top" in both the iframe and td tags within the iframe but its not helping..

any suggestions ??

thnx
 
how do u post it? the ifrmae is like a normal page whose margins have to be set to 0, it might be that...

Known is handfull, Unknown is worldfull
 
Hi,

I am actually posting a FORM from one iframe to another within the home page.

The iframe that receives the form values has a tag :

<iframe name="CCFrame" src="" frameborder="0" border="0" width="250" height="270" id="acuser" align="top" marginheight="0" marginwidth="0">

and the iframe that submits its form has the form tag:

<form action="acceptusers.jsp" method="post" name="ldapusers" id="ldapusers" target="CCFrame">

Cant find any other option in the iframe tag to make its contents appear at the top.

Deeply appreciate any help!

thnx
 
Further, If I place a <table> in Frame B (which receives the form values) and when the Frame B initially loads the content of the table appears at the top But as soon as I submit the FORM in iframe A, the default content and the FORM´s content are all pushed down !!!

Why is this happening !!?

thnx
 
ARGH ARGH.. am sorry.. had a <br> somewhere in the code which was causing the problem P-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top