PDA

View Full Version : Vbulletin 3.8 to 4.0 Table Structure


Slidefuse
12-15-2010, 12:55 AM
Hello! My first post here on vbulletin.org

For the longest of time I've been working with an old-time buddy on vBulletin 3.8 styles, and I have finally started my own forum with vBulletin 4.0. Man, the styling has changed!

My question is, what are the basic div classes and structure for a basic multi columned "table"?

For example, converting:


<table class="tborder" cellpadding="3" cellspacing="0">

<tr><td class="tcat" colspan="2">You haven't linked your SteamID!</td></tr>

<tr><td class="alt1">It appears you haven't linked your SteamID with your forum account yet. When you link your account, you become a certified Steam owner on the forums, and it allows you access to many new and upcoming features! Link today!
</td><td cass="alt2"><a href="http://slidefuse.net/steamid.php"><img src="https://steamcommunity.com/public/images/signinthroughsteam/sits_large_noborder.png"></a>
</td></tr>


</table>


To the new vBulletin table structure? I cannot find a basic refernece, and viewing the source code of existing pages is confusing me slightly.

Thanks in advanced,
Spencer

Wifey
12-31-2010, 07:27 PM
I'd also like to know this :) Thanks!

CroNiX
12-31-2010, 07:31 PM
Pretty sure they got rid of most of the tables used for layout and finally went to an all css based layout.

TheLastSuperman
12-31-2010, 11:25 PM
Pretty sure they got rid of most of the tables used for layout and finally went to an all css based layout.

Yeap ;), only in rare circumstances do you see <table or <td now... for example a snippet of your code:

<td class="alt1">

Would be:

<div class="alt1">

In vB4.