test post to see if a FireFox .CSS hack fixes the size of the code windows.

 Code:
Break On

        "Memory info on local computer:" ?
        "Location	Capacity	Speed" ?
        For each $memModule in PhysicalMemoryInfo('msea001')
         $memModule[0] chr(9) chr(9) $memModule[1] chr(9) chr(9) $memModule[4] ?
        Next
        ? "Done."
        get $

Function PhysicalMemoryInfo(optional $sComp)
dim $fF,$mT,$oWMI,$oM,$tMem[0]

 if not $sComp
  $sComp = "."
 endif
 $fF="Unknown","Other","SIP","DIP","ZIP","SOJ","Proprietary","SIMM","DIMM","TSOP","PGA",
  "RIMM","SODIMM","SRIMM","SMD","SSMP","QFP","TQFP","SOIC","LCC","PLCC","BGA","FPBGA","LGA"
 $mT="Unknown","Other","DRAM","Synchronous DRAM","Cache DRAM","EDO","EDRAM","VRAM","SRAM",
  "RAM","ROM","Flash","EEPROM","FEPROM","EPROM","CDRAM","3DRAM","SDRAM","SGRAM","RDRAM","DDR"

 $oWMI = GetObject("winmgmts:\\" + $sComp + "\root\cimv2")
 if @error exit @error endif
 For each $oM in $oWMI.ExecQuery("Select * from Win32_PhysicalMemory",,48)
  $tMem[ubound($tMem)]=$oM.DeviceLocator,1 * $oM.Capacity / 1048576,
  $fF[$oM.FormFactor], $mT[$oM.MemoryType], $oM.Speed,$oM.DataWidth
  redim preserve $tMem[ubound($tMem)+1]
 Next
 if 0<ubound($tMem)
  redim preserve $tMem[ubound($tMem)-1]
 endif
 $PhysicalMemoryInfo=$tMem
EndFunction


Very nice... works a treat for me. No more small code window in FF


 Originally Posted By: Sirdude
you don't want to have to deal with the [`code] and [`php] scrollbars that occur, when the pasted content exceeds 150px in height (hardwired in ubbthreads.inc.php) and the css for the style you are using has a width that isn't fluid.

just do this:

go to your firefox profile/chrome directory .. Linky Poo <-- locate where your profile is

edit a file and call it 'userContent.css' (you'll already see one in there named 'userContent.css-example' that came with the FF install.

simply paste the following in there:

 Code:
.ubbcode-block, .ubbcode-header, .ubbcode-body {
width: auto ! important;
height: auto ! important;
}


*poof* scroll bars gonzo.

there is also a solution for Opera that i know of too, but i won't include that here.

only apply this IF you are a firefox user and you don't want scroll bars and you are slightly geeky \:D . it doesn't do anything else than that.

ps: you have to restart FF for it to take effect :2c: