Width Fix for Quote BBCode
The standard vBulletin setup for the Quote BBCode template has a frustrating habit of pushing tables too far, or on to the next line, when it comes into conflict with them in a wiki entry.
This simple template edit fixes this error, and allows the Quote box to expand to a maximum width of 100% as opposed to a fixed standard of 100%.
To make this change, follow these instructions:
- Open the template bbcode_quote for editing.
- find:
HTML Code:
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
- replace it with:
HTML Code:
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" style="max-width:100%;">
You'll notice that the sections that the basic change is the width to max-width (using the style attribute).
That simple edit works fine in Firefox 2.x and 3.x, as well as Internet Explorer 7 and 8 and Opera 9.
I hope you find it useful, and if you do and use it, mark it as installed.