Web design question

OT: anything goes!

Moderator: Edi

Post Reply
Towlie
Redshirt
Posts: 45
Joined: 2003-05-03 04:54pm

Web design question

Post 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?
User avatar
RogueIce
_______
Posts: 13389
Joined: 2003-01-05 01:36am
Location: Tampa Bay, Florida, USA
Contact:

Re: Web design question

Post 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? :?
Image
"How can I wait unknowing?
This is the price of war,
We rise with noble intentions,
And we risk all that is pure..." - Angela & Jeff van Dyck, Forever (Rome: Total War)

"On and on, through the years,
The war continues on..." - Angela & Jeff van Dyck, We Are All One (Medieval 2: Total War)
"Courage is not the absence of fear, but rather the judgment that something else is more important than fear." - Ambrose Redmoon
"You either die a hero, or you live long enough to see yourself become the villain." - Harvey Dent, The Dark Knight
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Re: Web design question

Post 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]

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Towlie
Redshirt
Posts: 45
Joined: 2003-05-03 04:54pm

Post 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.
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Post 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.
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
User avatar
haas mark
Official SD.Net Insomniac
Posts: 16533
Joined: 2002-09-11 04:29pm
Location: Wouldn't you like to know?
Contact:

Post 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
Robert-Conway.com | lunar sun | TotalEnigma.net

Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]

Formerly verilon

R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005


Image
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post 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.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Post Reply