Click to See Complete Forum and Search --> : Help PLEASE


Dragonfly808181
06-26-2005, 04:46 PM
How do you put thouse boxes below picturs that you can put html in and it will just show as text? Ex: http://www.sepiroth.org/pet/index.php?s=guildanime :confused:

Dragonfly808181
06-26-2005, 04:47 PM
T.t...

Dragonfly808181
06-26-2005, 04:49 PM
:confused:

NogDog
06-26-2005, 05:54 PM
All you have to do is a "View Source" on that page to see that the author used <textarea>...</textarea> to achieve this.

However, a more semantically meaningful way would be to mark it up as code and use CSS styling:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
<title>Page title</title>
<style type="text/css">
<!--
code {
display: block;
font: small "courier new" monospace;
white-space: pre;
width: 17em;
height: 10em;
overflow: auto;
border: inset 2px gray;
padding: 0.5em;
}
-->
</style>
</head>
<body>
<code>&lt;h1>The Title&lt;h1>
&lt;p>This is a test. It is only a test.
This is yet another sentence.&lt;/p>
&lt;p>This is a test. It is only a test.
This is yet another sentence.&lt;/p>
&lt;p>This is a test. It is only a test.
This is yet another sentence.&lt;/p>
&lt;p>This is a test. It is only a test.
This is yet another sentence.&lt;/p>
&lt;p>This is a test. It is only a test.
This is yet another sentence.&lt;/p>
&lt;p>This is a test. It is only a test.
This is yet another sentence.&lt;/p></code>
</body>
</html>

ray326
06-26-2005, 11:14 PM
:confused:
Maybe you're confused because this isn't instant messaging here, it's a forum. You'll almost never get an answer in less than five minutes and sometimes it will be a day or two. So get your horses under control there, dragonfly.

BonRouge
06-27-2005, 06:35 AM
Dragonfly...
Please read this. (http://www.webdeveloper.com/forum/showthread.php?t=68822)

Tweak4
06-27-2005, 07:06 AM
Agreed... a post and 2 bumps within 3 minutes is a bit extreme, and even rude...