Forum Moderators: open

Message Too Old, No Replies

Newbie <iframe> question - Can't align

         

mrhans

9:02 pm on Mar 15, 2005 (gmt 0)



Hello,

Having discovered that my isp won't support ASP pages after teaching myself a bit of that I know can't get the my <iframe>'s to align

check

<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>

to see the problem

I just can't combine a table with getting the background image of the offending frame to align in the top left

New to this

Thanks in advance for the help

Hans

Code from main page

<TD ROWSPAN=2>
<iframe src="include/eventscontent.htm" name="menubar" width="385" height="285" frameborder = "0" scrolling = "no" ></iframe></TD>

Code from offending frame

<body>
<table width="123" height="140" class="menubarBack">
<tr>
<td width="10"></td>
<td width="101">Events</td>
</tr>
<tr>
<td width="10"></td>
<td>About</td>
</tr>
<tr>
<td width="10"></td>
<td>Pic's</td>
</tr>
<tr>
<td width="10"></td>
<td>DJ's</td>
</tr>
<tr>
<td width="10"></td>
<td>Messages</td>
</tr>
<tr>
<td width="10"></td>
<td>Links</td>
</tr>
<tr>
<td width="10"></td>
<td>Mixes</td>
</tr>
</table>
</body>
</html>

[edited by: tedster at 9:10 pm (utc) on Mar. 15, 2005]

tedster

5:39 am on Mar 16, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Perhaps you need to insure that padding and margin are all set to zero, both in the main page and in the page that appears in the iframe. Also consider cellpadding and cellspacing in the table cells - all those little sources of extra space that can even vary from browser to browser.