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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frame problems

Status
Not open for further replies.

teser

Technical User
Mar 6, 2001
194
0
0
US
I have two frames with the left side one displaying the info okay.
The right sided one displays sentences and some of the words dissapear into the right part of the frame. It seems like it doesnt want to wrap. I have paragraph tags on the paragraphs.
<p>words words etc...</p>


Here is my main frame info:

<html>
<head>
<title>Untitled</title>
</head>
<frameset cols=&quot;23%,*&quot;>
<frame scrolling=yes src=&quot;fram1.html&quot; noresize>
<frame scrolling=yes src=&quot;fram2.html&quot; noresize>

</frameset>
<body>
test

</body>
</html>



Any suggestions?
 
Show us the code of fram1.html and fram2.html
I don't exactly understand what you mean.

Further:

You can erase <body>test</body> in your frameset-file. It doesn't belong here.

Erik




 
Hi there,

First of all you need to make a few changes to your frames script.

You need to name both frames e.g. 'contents' and 'main' so your links will work etc...ok!

Note: What you write between the <body> tags is to display a message for those browsers that don't support frames. Wouldn't worry about that.

Look at this script and you'll see the difference...

<html>

<head>
<title>Untitled</title>
</head>

<frameset cols=&quot;23%,*&quot;>

<frame name=&quot;contents&quot; target=&quot;main&quot; src=&quot;fram1.html&quot;
scrolling=&quot;yes&quot;>

<frame name=&quot;main&quot; src=&quot;fram2.htm1&quot; scrolling=&quot;yes&quot;>
<noframes>

<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>

</noframes>
</frameset>
</html>

To answer your original post. I think that you're fram2.html page has it's content in a table and that the table width is set in pixels, something like 600 or 700 pixels, which is why the writing is going off the page and you have to scroll across to read it. If this is correct just set the tabel width to 1005 and that should resolve your problem.

Hope this helps.

<!-- Killroy -->
 
That's table width 100%

Cheers, <!-- Killroy -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top