The HTML doctype StyleVar controls the first line of the HTML code for every vBulletin page.
It is used to instruct the browser how to render the page, according to a particular type of HTML.
For example, the HTML doctype for XHTML 1.0 Transitional, which is the default for vBulletin 3 is this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Note:
You may leave the HTML doctype completely blank, but if you do so, Internet Explorer 6 will use the 'Quirky Rendering' mode as used by previous versions of Internet Explorer.
When attempting to achieve a layout that will look the same between Internet Explorer, Mozilla, Opera and all the other browsers out there, 'Quirky Rendering' mode can be extremely unhelpful!
When attempting to achieve a layout that will look the same between Internet Explorer, Mozilla, Opera and all the other browsers out there, 'Quirky Rendering' mode can be extremely unhelpful!