cclloyd9785 Posted October 12, 2011 Share Posted October 12, 2011 I was recreating a terminal window with CSS and HTML, and it mostly worked. (See at here"]http://cclloyd.zxq.n...rminal.php) But why is the closing elements showing up in the textbox? (VIew source code of page to see the code) Link to comment Share on other sites More sharing options...
Ingolme Posted October 12, 2011 Share Posted October 12, 2011 The <textarea> element requires a closing tag. You've left the element open. By the way, you have a PHP error on that page. Link to comment Share on other sites More sharing options...
cclloyd9785 Posted October 12, 2011 Author Share Posted October 12, 2011 Yea I noticed. No clue why truthfully..., but am sorta ignoring it since it's just a test page. Maybe PM me how to fix that if you think you know how.(Was simple <?php include("header.php"); ?>) Anyway, thanks. It worked. Thought since it was a form of input I could just use /> Link to comment Share on other sites More sharing options...
Ingolme Posted October 13, 2011 Share Posted October 13, 2011 The only reason can be that the file is not in that location. Is "header.php" in the same directory as the file? Link to comment Share on other sites More sharing options...
cclloyd9785 Posted October 13, 2011 Author Share Posted October 13, 2011 No, but I even tried changing it to /header.php, and cclloyd.zxq.net/header.php Link to comment Share on other sites More sharing options...
Ingolme Posted October 13, 2011 Share Posted October 13, 2011 Where is that file relative to the PHP file that's calling it? If it's in the directory above, you can use the parent directory (../)include '../header.php'; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.