Author |
Topic |
|
GavinK
Starting Member
26 Posts |
Posted - 27 December 2004 : 11:10:14
|
Hi,
I want to line up these forums:
with the header at the top which I think is 600 wide.
I have the Site Integration MOD installed but just can't figure out how to resize the forums so that they line up with the header part at the top.
Anyone know how to do this?
Thanks, Gavin |
Edited by - GavinK on 13 January 2005 16:03:04 |
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 27 December 2004 : 11:38:20
|
you need to edit inc_header.asp
the site Integration MOD is only really to add things to the top, bottom, left and right, not to resize the whole forum. |
De Priofundus Calmo Ad Te Damine |
|
|
GavinK
Starting Member
26 Posts |
Posted - 27 December 2004 : 12:52:38
|
quote: Originally posted by PeeWee.Inc
you need to edit inc_header.asp
the site Integration MOD is only really to add things to the top, bottom, left and right, not to resize the whole forum.
Thanks. but where?
sorry but that. |
Edited by - GavinK on 13 January 2005 16:03:26 |
|
|
PeeWee.Inc
Senior Member
United Kingdom
1893 Posts |
Posted - 27 December 2004 : 14:48:58
|
Can you edit that post and post a inc_header.txt file so we can all read it and show you where to make the code edits. |
De Priofundus Calmo Ad Te Damine |
|
|
muzishun
Senior Member
United States
1079 Posts |
Posted - 27 December 2004 : 18:38:18
|
I'm pretty sure it is in this block of code. Change the red text to match the width you want.
select case Request.Form("Method_Type")
case "login"
Response.Write " </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table>" & vbNewLine
if strLoginStatus = 0 then
Response.Write "<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Your username and/or password were incorrect.</font></p>" & vbNewLine & _
"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Please either try again or register for an account.</font></p>" & vbNewLine
else
Response.Write "<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>You logged on successfully!</font></p>" & vbNewLine & _
"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Thank you for your participation.</font></p>" & vbNewLine
end if
Response.Write "<meta http-equiv=""Refresh"" content=""2; URL=" & strReferer & """>" & vbNewLine & _
"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & strReferer & """>Back To Forum</font></a></p>" & vbNewLine & _
"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""95%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td>" & vbNewLine
WriteFooter
Response.End
case "logout"
Response.Write " </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine & _
"</table>" & vbNewLine & _
"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>You logged out successfully!</font></p>" & vbNewLine & _
"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Thank you for your participation.</font></p>" & vbNewLine & _
"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">" & vbNewLine & _
"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""default.asp"">Back To Forum</font></a></p>" & vbNewLine & _
"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""95%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td>" & vbNewLine
WriteFooter
Response.End
end select |
Bill Parrott Senior Web Programmer, University of Kansas Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com) Personal Website (www.chimericdream.com) |
|
|
GavinK
Starting Member
26 Posts |
Posted - 28 December 2004 : 11:34:37
|
quote: Originally posted by PeeWee.Inc
Can you edit that post and post a inc_header.txt file so we can all read it and show you where to make the code edits.
sorry about that. here a downloadable .txt file: |
Edited by - GavinK on 13 January 2005 16:03:52 |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 28 December 2004 : 11:35:55
|
set your overall page width here (part of the Site Integration mod code):
if strSiteIntegEnabled = "1" then
response.write "<table width=""100%"" border=""" |
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
Edited by - D3mon on 28 December 2004 11:36:21 |
|
|
GavinK
Starting Member
26 Posts |
Posted - 28 December 2004 : 13:40:26
|
quote: Originally posted by D3mon
set your overall page width here (part of the Site Integration mod code):
if strSiteIntegEnabled = "1" then
response.write "<table width=""100%"" border="""
almost worked: |
Edited by - GavinK on 13 January 2005 16:04:13 |
|
|
GavinK
Starting Member
26 Posts |
Posted - 28 December 2004 : 13:50:18
|
just need to centre it now. |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
GavinK
Starting Member
26 Posts |
Posted - 28 December 2004 : 14:27:56
|
quote: Originally posted by D3mon
use: style=""margin: 0 auto"" in the same table tag
thanks. like this:
if strSiteIntegEnabled = "1" then response.write "<table width=""710"" border=""" style=""margin: 0 auto"" |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
Posted - 28 December 2004 : 16:09:54
|
better like this:
if strSiteIntegEnabled = "1" then response.write "<table width=""710"" style=""margin: 0 auto"" border=""" |
Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod "In war, the victorious strategist only seeks battle after the victory has been won" |
|
|
GavinK
Starting Member
26 Posts |
Posted - 28 December 2004 : 17:06:32
|
quote: Originally posted by D3mon
better like this:
if strSiteIntegEnabled = "1" then response.write "<table width=""710"" style=""margin: 0 auto"" border="""
no that didn't do anything. |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
GavinK
Starting Member
26 Posts |
Posted - 29 December 2004 : 06:03:02
|
quote: Originally posted by D3mon
OK, just replace:
style=""margin: 0 auto""
with:
align=""center""
Yeah!! Thanks a milllion dude! That worked ! |
Edited by - GavinK on 29 December 2004 06:03:28 |
|
|
D3mon
Senior Member
United Kingdom
1685 Posts |
|
|
Topic |
|