vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Vbulletin 3.8 to 4.0 Table Structure (https://vborg.vbsupport.ru/showthread.php?t=255241)

Slidefuse 12-15-2010 12:55 AM

Vbulletin 3.8 to 4.0 Table Structure
 
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:

HTML Code:

<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

Quote:

Originally Posted by CroNiX (Post 2141994)
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:

Code:

<td class="alt1">
Would be:

Code:

<div class="alt1">
In vB4.


All times are GMT. The time now is 05:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01509 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete