Page 1 of 1

Web design question

Posted: 2003-06-02 07:30pm
by Towlie
When you are making a webpage, can you use spaces in the names of your pages (e.g. Home Page.htm) or will that not work on the web.

Also, does anyone know how to make text so that the reader can scroll down with arrows instead of having a block of text that just keeps going down way off the page?

Re: Web design question

Posted: 2003-06-02 07:38pm
by RogueIce
Towlie wrote:When you are making a webpage, can you use spaces in the names of your pages (e.g. Home Page.htm) or will that not work on the web.
It will. The browser puts in %20 or something like that in the spaces. Now, uploading is another question, depending on what you use.
Towlie wrote:Also, does anyone know how to make text so that the reader can scroll down with arrows instead of having a block of text that just keeps going down way off the page?
Not sure what you mean by this... Scroll arrows like the side and bottom of a page, or like what you enter text into this BBS with? :?

Re: Web design question

Posted: 2003-06-02 07:46pm
by Pu-239
Towlie wrote:When you are making a webpage, can you use spaces in the names of your pages (e.g. Home Page.htm) or will that not work on the web.

Also, does anyone know how to make text so that the reader can scroll down with arrows instead of having a block of text that just keeps going down way off the page?
I think he means that little window below what you enter text into the BBS that shows part of the thread. That uses an iframe, but I don't think he wants to use seperate HTML files.

This uses a div with the overflow CSS property

Code: Select all

<div style="overflow:auto">
[insert text here]
</div>
One can also use an iframe.[/code]

Posted: 2003-06-02 07:46pm
by Towlie
What I want to do is put a text box of a fixed size on the page. The user can scroll the text inside the box as if it were a window of Notepad or something. This is as opposed to just having an 800X100000000 window of text.

Posted: 2003-06-02 07:49pm
by kojikun
http://htmlgoodies.com/
http://htmlgoodies.com/tutors/forms.html wrote: <.TEXTAREA NAME="comment" ROWS=y COLS=x>
<./TEXTAREA>
remove the periods from after the brackettings.

Posted: 2003-06-02 07:51pm
by haas mark
Best idea would be to use an underscore ( _ ) in place of a space or not use one; some places will upload images so that the space is turned into an underscore or will eliminate the space altogether.

~ver

Posted: 2003-06-03 01:06am
by Pu-239
Towlie wrote:What I want to do is put a text box of a fixed size on the page. The user can scroll the text inside the box as if it were a window of Notepad or something. This is as opposed to just having an 800X100000000 window of text.
Well if you want to specify size, then

Code: Select all

<div style="overflow:auto; width:[width in pixels, must append px]; height:[height in pixels, must append px]">
[insert text here]
</div>

Example:

Code: Select all

<div style="overflow:auto; width:400px; height:200px">
blahblahblah
</div>
HTMLgoodies is evil. W3C is better.