Aligning tables on two frames - need urgent help

  • gulshan
  • Born
  • Born
  • gulshan
  • Posts: 4

Post 3+ Months Ago

It all seem so simple yet i am stuck. please help.

My original page contains too much text so i am quoting here a very simple example to explain my problem.

In a frame set i have two frames, each contains tables. I just cannot align table from top fram to table on other frame. Table on mainbody fram slides a little left for reason unknown to me.

Can anyone out there help me please!!!!!

Frame set:

Code: [ Select ]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="38,*" frameborder="NO" border="0" framespacing="0" cols="*" >

 <frame name="topFrame" scrolling="NO" noresize src="c.htm" >
 <frame name="mainFrame" src="b.htm">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html>
  1. <html>
  2. <head>
  3. <title>Untitled Document</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <frameset rows="38,*" frameborder="NO" border="0" framespacing="0" cols="*" >
  7.  <frame name="topFrame" scrolling="NO" noresize src="c.htm" >
  8.  <frame name="mainFrame" src="b.htm">
  9. </frameset>
  10. <noframes>
  11. <body bgcolor="#FFFFFF" text="#000000">
  12. </body>
  13. </noframes>
  14. </html>


c.htm is: (i added div align=center as a desperate attemt which made no difference)

Code: [ Select ]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align=center>
 <table border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
  <td>&nbsp;</td>
 </tr>
 <tr>
  <td bgcolor="#FF0000">This</td>
 </tr>
</table>
</div>
</body>
</html>
  1. <html>
  2. <head>
  3. <title>Untitled Document</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  7. <div align=center>
  8.  <table border="0" cellspacing="0" cellpadding="0" align="center">
  9.   <tr>
  10.   <td>&nbsp;</td>
  11.  </tr>
  12.  <tr>
  13.   <td bgcolor="#FF0000">This</td>
  14.  </tr>
  15. </table>
  16. </div>
  17. </body>
  18. </html>


b.htm is:
Code: [ Select ]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align=center>
 <table border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
  <td bgcolor="#000099">This</td>
 </tr>
 <tr>
  <td>&nbsp;</td>
 </tr>
</table>
</div>
</body>
</html>
  1. <html>
  2. <head>
  3. <title>Untitled Document</title>
  4. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  5. </head>
  6. <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  7. <div align=center>
  8.  <table border="0" cellspacing="0" cellpadding="0" align="center">
  9.   <tr>
  10.   <td bgcolor="#000099">This</td>
  11.  </tr>
  12.  <tr>
  13.   <td>&nbsp;</td>
  14.  </tr>
  15. </table>
  16. </div>
  17. </body>
  18. </html>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • neksus
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2194
  • Loc: Canada

Post 3+ Months Ago

got a link?
  • Abelius
  • Proficient
  • Proficient
  • User avatar
  • Posts: 260
  • Loc: Miami Beach, FL, USA

Post 3+ Months Ago

The tables need the argument width=somePixelAmount"... :)

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.