HTML - Comment Area
Hi, how would i got about setting up a place where people can leave comments on my website?
Similar TutorialsI recently put a comment box on my site and it works well,except when the users start typing, it's black text on a black background. How can I make it white text when they type the comment AND where you input your name? Obviously, if I want white text where you input your name, I'd like to know how to make that text box black as well? http://celticsinsider.webs.com/20March2010.html Just type something in the comment text area and you'll know what I mean Heres the html code: HTML Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <LINK REL="SHORTCUT ICON" HREF="http://celticsinsider.webs.com/images/celticslogo3.gif"> <link rel="alternate" type="application/rss+xml" title="RSS Feeds From CI" href="http://celticsinsider.webs.com/rssfeed2.xml" /> <title>Celtics Insider - News</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style1.css" /> <noscript></noscript><!-- --><script type="text/javascript" src="http://www.freewebs.com/p.js"></script><script language="JavaScript" type="text/JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } //--> </script> <style> #HCB_comment_box textarea { background-color:#080708; border:1px solid black; } </style> <style> #HCB_comment_box .submit { background-color:080808; border:1px solid black; } </style> </head> <body onLoad="MM_preloadImages('images/pic2r.jpg')"> <div id="top"> <div id="menu"> <ul> <li><a href="index.html" class="but1"><img src="images/spacer.gif" alt="" width="56" height="13" /></a></li> <li><a href="index2.html" class="but2"><img src="images/spacer.gif" alt="" width="100" height="13" /></a></li> <li><a href="players.html" class="but3"><img src="images/spacer.gif" alt="" width="74" height="13" /></a></li> <li><a href="news.html" class="but4" id="active"><img src="images/spacer.gif" alt="" width="123" height="13" /></a></li> <li><a href="stats.html" class="but5"><img src="images/spacer.gif" alt="" width="88" height="13" /></a></li> <li><a href="http://celticsinsider.forum-motion.com/index.htm" class="but6"><img src="images/spacer.gif" alt="" width="72" height="13" /></a></li> <li><a href="contacts.html" class="but7"><img src="images/spacer.gif" alt="" width="84" height="13" /></a></li> </ul> <div style="position:absolute;top:1px;left:1px;height:0px;width:0px;overflow:hidden"><h1><a href="http://www.greatdirectories.org">best web directories</a></h1><h1><a href="http://www.bestfreetemplates.org">best free templates</a></h1></div> </div> </div> <div id="header" class="home"> <img src="images/spacer.gif" alt="" width="98" height="17" /><br /> </div> <div id="wrapper"> <div id="content"> <p class="title"><img src="images/title62.gif" alt="" width="118" height="13" /></p> <div id="about"> <img src="images/title72.gif" alt="" width="412" height="0" /><br /> <p><strong><b><h1>Pierce's Back-To-Back Threes Seal Deal For C's</h1></b></strong></p> <p><strong><b><h5>By <a href="mailto:FHHS63@gmail.com">Chris Frigo</a></h5></b></strong></p> <a href="http://celticsinsider.webs.com/rssfeed2.xml"> <img border="0" src="images/rss.gif" alt="rss feed for this article" width="36" height="14"></a> <!-- AddThis Button BEGIN --> <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&username=xa-4ba4d82e1862ffdd"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4ba4d82e1862ffdd"></script> <!-- AddThis Button END --> <br> <br> <div id="floater"><img src="images/03202010.jpg" align="left"> <p>No matter what rookie sensation Aaron Brooks did Friday night, it seemed Rajon Rondo was there to mirror him.</p> <p>"I just wanted to make him take contested shots," Rondo said. "I didn't want to leave him open tonight. I just tried to send him in with the big guys. Not just me, but they did a great job as well."</p> <p>Rondo scored just two points on 1-5 shooting, however, he had some veteran support from his teammates that helped the Celtics earn a 94-87 victory over the Rockets.</p> <p>Paul Pierce continued his scoring run since coming back from injury, contributing 26 points, while helping the Celtics win three straight games.</p> <p>The coveted match-up between Rondo and Brooks was the biggest headline coming into this game, but it was the Celtics' return to defensive prowess that marks the headlines early this morning. The Celtics held Houston to just 39% shooting from the field, due partly to the efforts of defensive-minded player Kevin Garnett.</p> <p>"We kept everybody intact for the most part," Garnett, who scored 15 points in the victory, said of Boston's defense. "It was just a collective effort. We needed that with a team like this."</p> <p>Ray Allen continued his post-All-Star break dominance as well, scoring 3 three-pointers in just 4 minutes after Houston tied it at 52. Houston would then miss 5 straight shots, helping the Celtics strengthen their lead to 72-62 to start the fourth quarter.</p> <p>"Executing offensively, that's been our Achilles' heel, when we've been bad," Allen said. "With bad offense, you put teams in transition, and we don't give our defense a chance."</p> <p>Luis Scola and the newly-acquired Kevin Martin scored 17 apiece for the Rockets, but Pierce's back-to-back three-pointers with 5 minutes left in the game stretched the Celtics' lead to 88-77, queuing the fans to start exiting the arena.</p> <p>The Celtics will hope to continue their run and win their fourth straight game as they will visit the American Airlines Center to take on Dirk Nowitzki and the Dallas Mavericks starting at 9 P.M. on Saturday.</p> <a href="news.html">previous page</a> <br> <br> <br> <br> <!-- customize labels of htmlcommentbox.com --> <script> // This code goes ABOVE the main HTML Comment Box code! // replace the text in the single quotes below to customize labels. hcb_user = { comments_header : 'Comments', name_label : 'name', submit : 'submit', logout_link : '[log out]', admin_link : '[admin]', no_comments_msg: '', add: '(+) Add your comment', rss: 'comment feed', said: 'said:', prev_page:'<prev', next_page:'next>', website_label:'website (optional)', email_label:'email (optional)', anonymous:'Anonymous', msg_thankyou:'Thank you for commenting!', msg_approval:'(this comment is not published until you approve it)', msg_approval_required:'(Your comment will not be visible until approved by the moderator)', err_bad_html:'Your comment contained bad html.', err_too_frequent:'You must wait a few seconds between posting comments.', err_comment_empty:'Your comment was not posted because it was empty!', MAX_CHARS: 2048 }; </script> <!-- done customizing labels of htmlcommentbox.com --> <!-- begin htmlcommentbox.com --> <div id="HCB_comment_box"><a href="http://www.htmlcommentbox.com">HTML Comment Box</a> is loading comments...</div> <script type="text/javascript" language="javascript" id="hcb"> /*<!--*/ (function(){s=document.createElement("script");s.setAttribute("type","text/javascript");s.setAttribute("src", "http://www.htmlcommentbox.com/jread?page="+escape(window.location)+"&mod=%241%24wq1rdBcg%24Ap6g0Z.mMeL6OYEFezBnw."+"&opts=286&num=10");if (typeof s!="undefined") document.getElementsByTagName("head")[0].appendChild(s);})(); /*-->*/ </script> <!-- end htmlcommentbox.com --> </div> <div id="history"> <img src="images/title82.gif" alt="" width="404" height="0" /><br /> <p><strong><b></b></strong></p> <p></p> <p><strong><b></b></strong></p> <p></p> </div> </div> </div> <div id="footer"> </ul> <p>Copyright ©. All rights reserved. </p> </div> </body> </html> i need a scrilpt for very simple comment box that dosent need a data base that will just run from the script on the page please help thanx What is the use of comment tag and why we are using. Can any body explain it. Thanks _______________________________________ Hi, was wondering if anyone could help me with a bit of html. I would like to put a little comment box on my site for people to leave messages [where the messages stay up and the newest are visible when the page is refreshed.] I'm not sure what the technical term for it is, but i'd like some help. site is www.kerinewton.com [the empty space to the left is where i'll be putting it.] thanks! -keri Hey does anyone know where i can get a comment box for my website that is free? i am makeing a pic website like funnyjunk.com and i need a comment box like that if you could provide a code that would be really help full Hi! I want to create a comment box on my website that sends a message to my e-mail, and gives each comment a unique code and sends it with the comment to my e-mail Is this something you guys can help me with? I appreciate any help I am making a site consisting of articles, and i need comment boxes to comment on the articles, so please a simple comment box, with no smilies or anything, and a possible way to mod it if i get innappropriate comments, please, i need this quikly! Hi There I have a slight problem with a project i am working on which i really do hope somebody can help me. I wanted to build a tracker for my work and have been kindly given a copy by a friend of mine who works with me the problem is that i have added a comment box to the page and i want to remove the submit button as my page already has a submit button which sends the other info in it to txt file. Secondly i want to be able to link my comment box to that txt file so all the data is in one place. I am so sorry for posting such noobie question and would so much appreciate if somebody could help me out. Regards Craig hello all, I have this code for my page: Quote: <form action="mywebsiteurl" method="post" > <div align="center">Name: <input type="text" name="name" size="30" /> <br /> <br /> Comments / Suggestions?<br /> <textarea name="improve" rows="15" cols="75"></textarea> <br /> <input type="submit" value="Post feedback" /> <input type="reset" value="Sh*t - Reset" /> </div> </form> I want there to be comments/suggestions as well as the results of what visitors posted to be on the same page - how can i do this? does this original html need to be edited? if what i need is css or php, please provide the codes because i do not have any knowledge of anything other than HTML...Please get back to me ASAP Thanks- take care Thanks in advance, please get back to me ASAP - Take care -jimb0 ps. i want the results to look like: Name Comments/ Suggestion that people posted the date which it was posted | and the time it was posted at (if possible) Hi I am looking at some HTML source that contains a tag labeled as 'comment'. For example: Code: <comment id="bar" value="foo foo foo..."></comment> What is the purpose of such a tag? Where in the HTML standard is it defined? Thanks I want to make a comment box, but I am new to HTML, and do not know much on it, I tried to make it save and load the comments from a text file, but, I do not know how. A little help please Basically, at the end of each article, I want to have a comment box that goes good with my site's style. Here's one of the articles from my site, and if I could get one that goes good with my color scheme, that would be great: http://celticsinsider.webs.com/14march2010.html Currently my site uses a frame to seperate the sidebar and content. I've recently managed to get it viewing fine with a handy piece of css in Opera, but in IE is shows part of a comment (-->). Problem is the new page is valid according to the w3 validator, and if I remove the comments then it won't be valid. Here is the entire page: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <meta http-equiv="Content-Language" content="EN-GB"> <link rel="stylesheet" type="text/css" href="theme.css"> <link rel="shortcut icon" href="../favicon.bmp"> <title>Revelations of the Ancients</title> <meta name="keywords" content="xrealms x-realms rota revelation ancient revelations ancients game online rpg orpg 2d xr"> <style type="text/css"> <!-- html, body {margin:0; padding:0; height:100%} #container {min-height:100%; position:relative} #header {padding:10px} #body {padding:10px; padding-bottom:160px} #footer {position:absolute; bottom:0; width:100%; height:160px} #header p, #header h1 {margin:0; padding:10px 0 0 10px} #footer p {margin:0; padding:10px} --> </style> <!--[if lt IE 7]>--> <style type="text/css"> #container {height:100%} </style> <!--<![endif]--> </head> <body> <div id="container"> <div id="header"> // </div> <div id="body"> </div> <div id="footer"> <p> <font size="2pt">This site uses:</font><br> <a href="http://jigsaw.w3.org/css-validator/" target="_blank"> <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!"> </a><br> <a href="http://validator.w3.org/check?uri=referer" target="_blank"> <img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"> </a><br> <br> <font size="2pt"><font color="#F62817">The content of this site is copyrighted</font></font> </p> </div> </div> </body> </html> I haven't yet added the content section yet. Any help would be appreciated. help me plzzz!!! Hi there-- I need to commend out a single line of code in the future. The file is a plain .htm file and needs to have a section of it commented out using sysdate of August 1, 2009. Can anyone help me? Im thinking php but I am not too skilled past there. Thanks i'm creating a directory page with over 200 links on it and need to comment each link. i've read that this can slow down page loading. is that true? is there a better way to leave myself notes about each link. i will need to refer to those notes regularly. i'm not a coder so keep that in mind when responding. TIA, and happy new year. Dear Htmlforums I only got 1 simple question! If i got a site with a comment box, where people can post a comment, and i want the comment they post to be shown on another side? Like when i go to www.whatever.com and post a comment ( Hello ) then the ( Hello ) comment will be shown at my other side with a comment box? What is the code for that? Hi, I wish to know how to edit or remove any unwanted comments being posted in the comment box of my created website. Kindly suggest the html code to delete it from my website. Thanks in advance. I want to implement a thing like Myspace, Facebook, etc where guests can make comments on my images... I just want the guest to have to enter a name, and a comment, no signing up or anything. http://www.pzproductions.com/largeimages |