Placing spacing between replies in topics

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/66667?pagenum=1
05 November 2025, 00:20

Topic


leesh695
Placing spacing between replies in topics
17 March 2008, 05:46


What I wanted to know is, is it possible to put a gap inbetween replies to topics so they are not all joined together? Just a about a centimeter gap would be fine. I would want the gap just to have the normal background there.
I would also like to reduce the size of the reply box to about half of what it is now. I know it adjusts size based on screen size, I dont want it a set size I just want it to be centeral to page at about half the width they apper now.<

 

Replies ...


cripto9t
17 March 2008, 07:31


In topic.asp find this code
Code:
	Response.Write	"                  </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine
End Sub
Add this code right before the line "End Sub"
Code:
	Response.Write	"            </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table>" & vbNewLine & _
"<br />" & vbNewLine & _
"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""95%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td>" & vbNewLine & _
" <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _
" <table border=""0"" width=""100%"" cellspacing=""1"" cellpadding=""4"">" & vbNewLine
If you want a bigger space, add another <br /> between the tables.<
HuwR
17 March 2008, 07:46


If you want a bigger space, add another <br /> between the tables.
or add a style to the <br/> tag to set it's height like <br style="line-height:1em;"/><
leesh695
17 March 2008, 08:01


Thanks that worked great,bigsmile
Could you tell me where to include the in the guestbook mod too?
Here is my guestbook.asp text file.
http://www.hwaronecity.info/guestbook.txt<
leesh695
18 March 2008, 07:54


Any luck with this? lol.
Ive been trying for a while with no luck cant seem to find the correct table or place to insert the code.<
cripto9t
18 March 2008, 13:23


or add a style to the <br/> tag to set it's height like <br style="line-height:1em;"/>
Cool smile thats good to know.
leesh695, what do you want to seperate? It looks like a list of
guest sigs to me. Is there something in the table before the sigs?<
leesh695
18 March 2008, 16:32


Well, Im making this layout for my girlfriends site and using that code you gave me, and changing this line

Code:
"      <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _

to

" <table border=""0"" width=""50%"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _

I made layout of topic.asp to like this.

What I want to do is make the guestbook page have the same format, replies atm look like this.
Is it possible to do that? I am just talking about the box size and space between. I dont have a problem with where signed by is on the guestbook one. <
leesh695
22 March 2008, 18:16


I still cant find the solution to this sad<
cripto9t
23 March 2008, 09:56


Try This Might have to right click and save.
Replace your file with this one. I added a new row instead of using <br />, hopefully I added it in the right spots smile<
leesh695
23 March 2008, 13:37


Thanks :d

It worked for the spacing fine but which line do i change to 50% to make them only fill half the screen?#

Thanks again so much for doing this to me.<
leesh695
23 March 2008, 20:48


After looking harder into the changes that you made I managed to work out what to change.
Thanks alot cripto9t :D.
Let me know if you ever need anything :)<
texanman
22 April 2008, 12:08


Thanks cripo9t:
I used the same code to make space between the replies as well. Perfect!<
© 2000-2021 Snitz™ Communications