This Message Forum is no longer in use

Please use the new Bravenet Help Forums FOUND HERE

General Forum
This Forum is Locked
Author
Comment
How do I put the code for my layouts on my website?

Please, I need to know. So people can get my layouts
you know like the textarea thing.

Browser: toiletofdoom36,2

Re: How do I put the code for my layouts on my website?

what is that textarea thing?
do you design and wish to give out layouts to visitors?

Re: How do I put the code for my layouts on my website?

yeah thats what I mean

Browser: toiletofdoom36,2

Re: How do I put the code for my layouts on my website?

When you want to show code on a webpage
You make a form textarea box first.
You then put your html code in text area box.
The textarea codes you find under forms on most
html tutorials sites.

Re: How do I put the code for my layouts on my website?

An example of using a textarea to display code is below.



The code above will produce the following. The extra break tags are inserted by the forum and not part of the original code.



You do have to be a little careful when you use this method. For example, in the following code, I try to post the code for a textarea inside a textarea. This only works because I replaced the < characters on the internal code with their ascii equivalent of <.

code...
code...code...code...


If I did not replace the < characters, on the code inside the textarea, it would post like this:

code...
code...code...code...


There are other ways to post code. Some are easier, some are more difficult. I perfer using Javascript and popping it into a window. An example of using Javascript is on one of my test sites. Scroll down the page and try the HTML Code and Javascript Code buttons. Code can be copied directly out of the popup windows, but it's a lot of work to make these windows. More than most people are willing to do. If the code is simple, just use the textarea method.

Do a google search on the string "posting html code" for other methods.