Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Mar 22nd, 2018, 07:00am

Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Dynamic Drive

The Staff

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Resize board width  (Read 4907 times)
I've always wanted one of these wink
Conforums Administrator

member is offline


Mr Fixit...

Homepage PM

Gender: Male
Posts: 17664
xx Resize board width
« Thread started on: Feb 5th, 2004, 3:47pm »

Code submitted by Me... grin

3 ways of doing this.. the first is by inserting the main page into a table, like this:-
  • At the bottom of your header
      <table width="XXXXXX" border="0" cellspacing="0" cellpadding="0" align="center"><tr><td valign="top">

  • Then at the top of the footer

    Set XXXXXX to width you require.

The second is by inserting some javascript into the footer, like this:-
    <script language="Javascript">
    var Tab=document.getElementsByTagName('TABLE')
    for(tab=0; tab<Tab.length; tab++){
    // -->

Again set XX to width you require.

The third way is with a code like this is with pixels.

<script LANGUAGE="JavaScript">
tablew = document.getElementsByTagName('TABLE');
for(t=0;t<tablew.length;t++) {
// -->

For example replace the XXX with a number like 700.

The first code will only alter the board/thread part of the page, whereas the second code will change the entire page, including the top table... The third code will work the same way as the second

Edit - Script Error fixed in second code.

If you'd like to see a preview of this code's effects click here
« Last Edit: Jul 6th, 2006, 3:30pm by Garet » User IP Logged

Have you read the FAQ or checked the Hacks board before posting?
Then please do so...
Conforums Elite
Senior Member

member is offline


Homepage PM

Gender: Male
Posts: 2070
xx Re: Resize board width
« Reply #1 on: Jul 6th, 2006, 8:55pm »

If you'd like to just resize the banner use this code

Main Header

<script type="text/Javascript">
// -->

« Last Edit: Jul 6th, 2006, 8:58pm by Garet » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls