Log In · Register

 
 
Closed TopicStart new topic
can someone help, need help to make this comment box work with the div im making
mdhscanes24
post Jun 27 2008, 03:18 PM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: Jun 2008
Member No: 662,314



can somebody make this for me so it will work with my div?
i made it with a generator but for some reason when i added it it also added a scroll bar all around the section even though it fit inside easily

this is how the section looks



andthis is how i would like the comment box to look





this is the complete coding of the section (minus the actual section code)

CODE
<BR><BR><BR><center><div style="text-align: center; width: 100%; height: 100%;"><form action="/index.cfm?fuseaction=user.viewProfile_commentForm&amp;friendID=102119476" method="post"><input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /><input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" /><textarea name="ctl00$cpMain$UserWriteCommentsControl$commentTextBox" style="width: 250px; height: 150px; color: #FFFFFF; font-size: 15px; font-family: Comic Sans MS; text-align: center; background-color: #000000; background-image: url(''); border-style: solid;">comment or die</textarea><br /><input type="submit" name="ctl00$cpMain$UserWriteCommentsControl$postcommentImageButton" value="bang it" style="color: #FFFFFF; font-size: 11px; background-color: #000000; border-style: solid;"><input type="reset" value="bomb it" style="color: #FFFFFF; font-size: 11px; background-color: #000000; border-style: solid;"></form></div></center>


_____________________________________________________________________

okay so forget about this i found a code on this site to make a comment box myself so please delete this topic. also i noticed it is in the wrong section and apologize for that mistake
Reason for edit: please just codes in codeboxes. thanks -nat
 
wulawula
post Jul 1 2008, 04:22 AM
Post #2


Member
**

Group: Member
Posts: 10
Joined: Jul 2008
Member No: 663,389



Like this?

CODE
BR><BR><BR><center><div style="background-color:#DFF0F7;padding:10px;"><div style="text-align: center; width: 100%;"><form action="/index.cfm?fuseaction=user.viewProfile_commentForm&amp;friendID=102119476" method="post"><input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /><input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="" /><textarea name="ctl00$cpMain$UserWriteCommentsControl$commentTextBox" style="width: 250px; height: 150px; color: #FFFFFF; font-size: 15px; font-family: Comic Sans MS; text-align: center; background-color: #000000; background-image: url(''); border-style: solid;">comment or die</textarea><br /><input type="submit" name="ctl00$cpMain$UserWriteCommentsControl$postcommentImageButton" value="bang it" style="color: #FFFFFF; font-size: 11px; background-color: #000000; border-style: solid;"><input type="reset" value="bomb it" style="color: #FFFFFF; font-size: 11px; background-color: #000000; border-style: solid;"></form></div></div></center
Reason for edit: please put codes in codeboxes. thanks :) -natalia
 
manny-the-dino
post Jul 1 2008, 01:50 PM
Post #3


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Moved to Myspace Support
 
fixtatik
post Jul 1 2008, 02:28 PM
Post #4


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



you're getting the scroll bars because you have a double border around the div, three line breaks before it starts, and you have the width and height set at 100%. if you set the width and height at a smaller value, it should work. just play around with those numbers.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: