View Full Version : textbox problem


LittleHobbit
05-12-2004, 06:06 AM
Im trying to add images into a textbox....I can veiw the image, but not the textbox, can someone point out whats wrong? Heres the code:


<html>
<style type="text/css">

<textarea ROWS=7 COLS=30
style="background:COLOR"
style="font-family:Trebuchet MS"
style="color:blue"
style="border style:solid">


</head>
</style>
<img src="always.gif"
this one reminded me of Nancy




</head>
</Html>











</textarea>

<!--Code generated by Cool Web Scrollbars from Harmony Hollow Software-->
<!--http://www.harmonyhollow.net-->
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#E87400;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#E87400;
scrollbar-arrow-color:#3A94B6;
scrollbar-track-color:#B76FFF;
}
-->
</STYLE>
<!--End Cool Web Scrollbars code-->

Rosey
05-12-2004, 06:18 AM
You can't put an image in a textarea, only text.

also your style tag should be style="font-family: trebuchet ms;color:blue; border: 1px solid black;"

and a basic html file is set up like this:

<html>
<head>
</head>

<body>

text area code here


</body>

</html>

Monkey Bizzle
05-12-2004, 06:31 AM
Im trying to add images into a textbox....I can veiw the image, but not the textbox, can someone point out whats wrong? Heres the code:


<html>
<head>
<style type="text/css">

BODY {
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#FFFFFF;
scrollbar-3dlight-color:#E87400;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#E87400;
scrollbar-arrow-color:#3A94B6;
scrollbar-track-color:#B76FFF;
}

</style>
</head>

<body>

<textarea ROWS=7 COLS=30 style="font-family: trebuchet ms;color:blue; border: 1px solid black;">
<img src="always.gif">
this one reminded me of Nancy
</textarea>

</body>
</html>


Your coding was all messed up so I fixed it!! I don't know anything about textareas and Rosey said you can't put images in them anyways but I left your image where it was so you wouldn't get corn-fused! Just copy and paste the above code over top of whatever you had before...

LittleHobbit
05-12-2004, 10:31 AM
Ok thanks!! BUT oops I was wrong...NOT a textarea....Iframe & I guess this shudda been posted there, sorry

Sheila
05-12-2004, 11:28 AM
You can find an iframe tutorial here:
http://www.lissaexplains.com/frames.shtml#inline