Placing spacing between replies in topics - Posted (1982 Views)
Junior Member
leesh695
Posts: 101
101
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.<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Average Member
cripto9t
Posts: 881
881
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.<
    _-/Cripto9t\-_
Posted
Forum Admin
HuwR
Posts: 20611
20611
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;"/><
Posted
Junior Member
leesh695
Posts: 101
101
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<
Posted
Junior Member
leesh695
Posts: 101
101
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.<
Posted
Average Member
cripto9t
Posts: 881
881
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?<
    _-/Cripto9t\-_
Posted
Junior Member
leesh695
Posts: 101
101
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. <
Posted
Junior Member
leesh695
Posts: 101
101
I still cant find the solution to this sad<
Posted
Average Member
cripto9t
Posts: 881
881
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<
    _-/Cripto9t\-_
Posted
Junior Member
leesh695
Posts: 101
101
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.<
Posted
Junior Member
leesh695
Posts: 101
101
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 :)<
You Must enter a message