Print Page | Close Window

Setting the Forum Width

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22611
Printed Date: 08 April 2026 at 4:49am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Setting the Forum Width
Posted By: jscano
Subject: Setting the Forum Width
Date Posted: 05 February 2007 at 9:35pm
I posted a question about this a long time ago, but didn't really get an answer I understood. Let me try again.

I'm wanting to set the overall width of the forum to a set value (900px). I'm familiar with a <div>, but where would I put the <div>? What file?

Thanks in advance,

J



Replies:
Posted By: Melkor
Date Posted: 06 February 2007 at 6:12am
My first thought would be to add it to the css

/* Page body */
body{
    width: 900px
    background-color: <% strBGC %>;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}



Posted By: MrMellie
Date Posted: 06 February 2007 at 9:30am
That was my first thought too, although I was thinking of setting the table widths, so instead of

/* Tables */

.basicTable{
     border: 0px;
     width: 98%;
}

.errorTable{
     border: 1px solid #FD7D40;
     background-color: #FFF2E6;
     width: 98%;
     color: #FF0000;
}

.tableBorder, .wwgAdTable{
     border: 1px solid #B6B9CB;
     background-color: #FFFFFF;
     width: 98%;
}


use


/* Tables */
.basicTable{
     border: 0px;
     width: 900px;
}

.errorTable{
     border: 1px solid #FD7D40;
     background-color: #FFF2E6;
     width: 900px;
     color: #FF0000;
}

.tableBorder, .wwgAdTable{
     border: 1px solid #B6B9CB;
     background-color: #FFFFFF;
     width: 900px;
}


Either way should do the trick i would've thought.


Posted By: Ali Bilgrami
Date Posted: 07 February 2007 at 12:21am
can it be set through header.asp? I mean it starts there right?

-------------
Lets!


Posted By: MrMellie
Date Posted: 07 February 2007 at 12:55am
There's only 3 lines of code in header.asp, none of which are width related.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net