Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 179
  • Last Modified:

Trouble with tables...

I've got a page with to frames. One over the other. I want to have one table in each frame. But when I center those two tables they don't come out at the same mid-position. The lower one are not right below the upper one...
How can I solve this?
0
reidarj
Asked:
reidarj
  • 2
  • 2
1 Solution
 
brice123Commented:
Could you post some HTML sample code?
0
 
reidarjAuthor Commented:
The upper frame HTML code:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Ny side 3</title>
<base target="hoved">
</head>

<body>

<div align="center">
  <center>
  <table border="1" width="300">
    <tr>
      <td width="33%">&nbsp;</td>
      <td width="33%">&nbsp;</td>
      <td width="34%">&nbsp;</td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>

*******************
The lower HTML code

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Ny side 4</title>
</head>

<body>

<div align="center">
  <center>
  <table border="1" width="300">
    <tr>
      <td width="33%">&nbsp;</td>
      <td width="33%">&nbsp;</td>
      <td width="34%">&nbsp;</td>
    </tr>
  </table>
  </center>
</div>

</body>

</html>

****************
And the frame HTML

<html>

<head>
<title>Ny side 2</title>
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
</head>

<frameset rows="158,*">
  <frame name="topptekst" scrolling="no" noresize target="hoved" src="ny_side_3.htm">
  <frame name="hoved" src="ny_side_4.htm">
  <noframes>
  <body>

  <p>Denne siden bruker rammer, men leseren din støtter ikke disse.</p>

  </body>
  </noframes>
</frameset>

</html>

0
 
brice123Commented:
Damned, the problem is caused by the scrolling="no" option in the top frame.

I suppose that you don't want to remove it?
0
 
fibdevCommented:
I agree ...

:(  Frustrating isn't it!
0
 
reidarjAuthor Commented:
:)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now