Author |
Topic |
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 02 April 2002 : 16:00:30
|
Could anyone advise what is the best way to reduce the width of the main forum table.
Thanks.
---=--- Syko BA ---=--- |
|
Gidion
Starting Member
22 Posts |
Posted - 02 April 2002 : 16:08:40
|
I did it this way:
I added a table header in the inc_top.asp: <table width="600"> <tr> <td>
Then I added the table footer in the inc_footer.asp:
</td> </tr> </table>
I think that is the easiest way.
--------------------------- MANIAC Development http://mcc.in.tum.de/maniac |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 02 April 2002 : 16:10:34
|
Even easier is to open inc_top.asp and go to line 320. You'll find this:
<table align="center" border="0" cellPadding="0" cellSpacing="0" width="95%"> <tr> <td> <% sub sForumNavigation() ' DEM --> Added code to show the subscription line if mlev > 0 then
Just change the red value and you're done.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 02 April 2002 : 16:23:00
|
Thanks Gents
FrutZle
I have changed the 95% to 80 % and it works a treat but I would also like to change the align="center" to align="right". When I do this the Member profile page when viewed plays havoc with the footer, it appears half way up the page in front of the members details.
Any Ideas ?
---=--- Syko BA ---=--- |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 03 April 2002 : 04:19:17
|
I am wanting to place a menu down the left without using frames, is there an easy way of doing this, hence the need to reduce the main forum column width.
I have tried to use layers in the inc_top.asp but they are a little unforgiving with smaller screen resolutions.
Any help would be appreciated.
Thanks.
---=--- Syko BA ---=--- |
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 03 April 2002 : 04:59:13
|
Use a table, put a fixed width column on the left. If you want I'll send you the souce code from the Snitz Exchange left hand menu, so you can see how I did it.
Nathan Bales - Romans 15:13 ---------------------------------- Snitz Exchange | Do's and Dont's |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 03 April 2002 : 05:19:12
|
In inc_top.asp lines 183 and down you should find this:
<a name="top"></a><font face="<% =strDefaultFontFace %>"> <table align="center" border="0" cellPadding="0" cellSpacing="0" width="100%"> <tr>
Add this right below 183:
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" width="160"><!--#include file="inc_nav.asp"--></td> <td valign="top">
Change the red part to whatever you like. I like using an include for the menu, but you could hard code the menu in there.
Now in inc_footer.asp starting at line 81 you should find this:
</td> </tr> </table> </body>
Add this right above the </body> tag:
</td> </tr> </table>
Done.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 03 April 2002 : 05:46:12
|
Thank you Gents.
As you can see my forum is in a mess http://80.4.80.113/forum99/ I know what I want to do but am having great diffuculty in getting there.
I have placed a menu down the left which is OK, but I want to incorperate the login on the left too.
At this moment I cannot even work out how to get the login back into the centre at the top.
If you goto members and view a profile its a tip, I cannot fatham out what is going wrong.
Hope you can help.
Thanks
---=--- Syko BA ---=--- |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 03 April 2002 : 05:58:51
|
looks like on pop_profile.asp you're calling inc_footer.asp (or the write footer function) too early up in the file. I don't believe that's because of an added table.
You can move the login/logout part by simply setting the cell in which it resides to the correct width and then the alignment to center.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 03 April 2002 : 06:41:47
|
The problem with my member profile page ony appears when I change
<table align="center" border="0" cellPadding="0" cellSpacing="15" width="75%">
to
<table align="right" border="0" cellPadding="0" cellSpacing="15" width="75%">
And as for my logon I still cannot make it appear in the centre, not that I want it there anyway.
FrutZle
How did you configure your inc_top.asp, is all the coding for your forum layout in this file ?
---=--- Syko BA ---=--- |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 03 April 2002 : 07:55:33
|
My site is complex when you look at the amount of tables I use. There's an inc_top.asp, inc_menu.asp, inc_submenu.asp and inc_footer.asp. The menu and submenu (where the login/logout and forum stats are shown) are included in inc_top.asp and then inc_top.asp, config.asp and inc_functions.asp are called at the top of each page. Inc_footer.asp is then called at the bottom of all files.
You won't need an align="right" if you add a new table around the existing table as I've shown in an earlier reply. Just make sure the left-side column has the right width to contain your menu and then the rest is for your forums and they'll automagically be shown aligned to the right of the page.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 03 April 2002 : 11:36:30
|
quote:
You can move the login/logout part by simply setting the cell in which it resides to the correct width and then the alignment to center.
http://80.4.80.113/forum99/
As you can see the forum is looking slightly more presentable, just having problems getting the login section to sit half way down the left of any page.
Could you please advise what is the most effective way of doing this.
Cheers.
---=--- Syko BA ---=--- |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
Posted - 03 April 2002 : 16:57:54
|
Could you upload a TXT version of your inc_top.asp and post the link here? I'll see what should be changed in your particular inc_top.asp to get it fixed.
One thing: when you say halfway down the left of the page, you mean below the menu, right?
http://www.frutzle.com
Snitz Exchange | Do's and Dont's |
|
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 03 April 2002 : 17:05:57
|
quote:
Could you upload a TXT version of your inc_top.asp and post the link here? I'll see what should be changed in your particular inc_top.asp to get it fixed.
One thing: when you say halfway down the left of the page, you mean below the menu, right?
Frutzle
Please look at http://forum.snitz.com/forum/topic.asp?TOPIC_ID=25565
Thanks for your time my friend
---=--- Syko BA ---=--- |
|
|
Roland
Advanced Member
Netherlands
9335 Posts |
|
Syko BA
Junior Member
United Kingdom
257 Posts |
Posted - 03 April 2002 : 17:21:45
|
quote:
I thought you wanted to get the login part moved? What's that got to do with subscriptions (in other topic)?
I have made a few changes to my forum.
Thanks.
---=--- Syko BA ---=--- |
|
|
Topic |
|