Forum Home
Press F1
 
Thread ID: 95213 2008-11-28 01:30:00 code help please DeSade (984) Press F1
Post ID Timestamp Content User
723784 2008-11-28 01:30:00 <script type="text/javascript">
<!--
/* resize forum width - open source */
var table = document.getElementsByTagName( 'table' );
for(i=0; i<table.length; i++) {
if(table.item(i).width == '92%') {
table.item(i).width = '728px';
}
}
//-->
</script>


The above code is designed to resize a forum to lower the size and basically widen the margins.

Now most of the users are using a wide screen I need to widen this but not fully cause there are still a few on smaller screens.

I thought simply raising the 728 number would work but it didn't
Help please :)
DeSade (984)
723785 2008-11-28 01:33:00 Why dont you just wrap it in a div and apply {max-width:1000px}into the css Rob99 (151)
723786 2008-11-28 01:38:00 I have no direct control over the CSS
This code goes into a global header of a customizable forum
DeSade (984)
723787 2008-11-28 01:39:00 What forum software are you using? Rob99 (151)
723788 2008-11-28 01:41:00 ProBoards

They got a help forum and I may have to hit that but I thought it might be quicker here.
DeSade (984)
723789 2008-11-28 01:54:00 I looks at this is hosted for you by them, their forum will probally provide the answer with a search.
www.google.com s.com&btnG=Google+Search&aq=f&oq=
Rob99 (151)
723790 2008-11-28 02:01:00 Cheers found what I needed. DeSade (984)
1