PDA

View Full Version : Webpage problem - help appreciated



John W
28-10-2006, 10:56 AM
On a website Ive created, it allows users fill in a text box to make suggestions on running the club.

Ive created a Text Box area, to allow this to happen.

The problem comes when I open the file containing their suggestions. There is no text wrapping, so when I paste it into the website, the box width (which is set to 740 pixels) expands to way off the screen.

So, I pasted the info into Word, hoping it would wrap the text when I pasted it back to the website, no luck.

Any ideas how to fix this....


Thanks John in Mosgiel.

Greg
28-10-2006, 11:22 AM
Can you copy and paste the html code for the box to here?

PeterA
28-10-2006, 02:06 PM
Most web page programs have ways of controlling the width and depth of text boxes. Try right clicking on the box and see if it gives you the answer to your problem. You should be able to specify an exact width. Try the help menu and search for "fixed width" or similar. If you are using tables you should have a table menu where it will be set-up. Should be the same for frames.
Good luck. Can't help more. I use Namo Web Editor.
Peter A

John W
30-10-2006, 07:44 PM
Well heres the website http://www.cyclingotago.co.nz/bottombracket.htm (http://http://www.cyclingotago.co.nz/bottombracket.htm)

Thanks

Greg
30-10-2006, 07:58 PM
Well heres the website http://www.cyclingotago.co.nz/bottombracket.htm (http://http://www.cyclingotago.co.nz/bottombracket.htm)
Until I get time to look at it properly, the proper link should probably be:
http//www.cyclingotago.co.nz/bottombracket.htm

TGoddard
30-10-2006, 09:39 PM
What are you using to edit the website? Whatever you're using to modify the website is probably causing the problems with line breaks by wrapping the text in <pre>...</pre> tags. Text inside these tags is supposed to preserve line breaks. The use of these tags is also considered poor practice.

I always use a plain text editor and write the website code myself. I don't expect you to go this far but you at least need a decent modern tool.

<pre> tags are the devil I tells you!

P.S. If you have the time to learn PHP or can locate a local geek you could use a database for comments and just approve comments with a click from an email. You also need to escape HTML from the comments however you do it.