making border of page stay without frames [Archive] - SpeedGuide.net Broadband Community

View Full Version : making border of page stay without frames


mountainman
06-02-03, 08:58 PM
Is there a way to do this ?

I would like to have the menu on left and title bar/graphic on the top, but when I scroll the page, I want only the text (body) of the page to move... not the top and side.

Is there a way to do this without frames ?

ub3r_n00b
06-03-03, 12:33 AM
Think so.. check out www.dynamicdrive.com

Look for static menus or whatever


-Preet

TonyT
06-03-03, 07:46 AM
Scrollbars are unigue to ONE page at a time, but...

Yes, there are 2 possible ways to do this:

1. Use <textarea> for the text. However, the dimensions must be set to finite proportions (rows & cols) and you cannot make the text hyperlinked. You can control all other aspects of the textarea using CSS. See experimental site I did for one of my businesses:
http://members.cox.net/aturrisi/

2. Inline frames - aspects can also be controlled using CSS and dimensions can be set in percentages.
See http://www.coolpagehelp.com/inline.html

ub3r_n00b
06-03-03, 10:34 AM
i wouldnt use a text area

instead you can use a <div> in which you set your height, and width to say 100 each

Then you clunk in your text and type in
<div style="overflow:scroll">

That will let you have a scrolling div, which in my mind looks better than a text area... of course you can do that for a <span> aswell..

-Preet

TonyT
06-03-03, 04:42 PM
<div style="overflow:scroll">

True, but the top and sides will not remain static and will scroll with rest of window content.

ub3r_n00b
06-03-03, 09:36 PM
/blink /blink

what.. lol

-Preet

TonyT
06-04-03, 07:32 AM
Read the first post. He wants the top and left to 'not move', e.g. remain static while rest of page scrolls, as in borderless frameset.

mountainman
06-04-03, 02:56 PM
Thanks guys !

:)

You're right, TonyT. I want something where it looks like a borderless frameset, but without the frameset. I don't like them since you can't see the URL in the address window.

Anywho... I'll have to try that way you recommended through your site. Can you treat that "inserted scrollable table" like another HTML page ? Or is that basically used for text only ?

If not, I may have to use frames. AHHHH !!!!

;)

Thanks.

TonyT
06-04-03, 07:28 PM
<textarea> = text only

You can use the inline frame to display anything though. Do it like this:
Create your static page with top table and left menu, then put the iframe in the main cell and load all site page into it.

Give me day and I'll slap together a demo...

ub3r_n00b
06-04-03, 08:01 PM
what about <iframes>

?


-Preet

TonyT
06-04-03, 08:01 PM
<HTML>
<HEAD>
<TITLE>Inline Frame Demo</TITLE>
</HEAD>
<BODY BGCOLOR='white'>

<TABLE BORDER='1' WIDTH='100%' HEIGHT='100'>
<TR>
<TD ALIGN='center' VALIGN='middle' WIDTH='100%' HEIGHT='90'>WEB SITE TITLE</TD>
</TR>
</TABLE>


<TABLE BORDER='0' WIDTH='100%' BORDERCOLOR='black' HEIGHT='100%'>
<TR>
<TD ALIGN='center' VALIGN='top' WIDTH='100%'><BR><BR><iframe name="my_iframe"

SRC="http://www.jumpinduo.com/hobbies.htm" scrolling="auto" height="90%" width="100%"

FRAMEBORDER="no"></iframe></TD>
</TR>
</TABLE>
</BODY>
</HTML>

mountainman
06-05-03, 12:50 PM
You're the man, Tony !

Thanks a lot. I'll try it tonght when I get home from work.

:)