The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Keeping your nested TR's and TD's straight
OK, what is your secret for keeping your nested TD's and TR's straight?
Is there a parser that shows TD's and TR groupings to 1) Help find errors from things like an errant TR without a </TR> 2) Help understand how the skin code maps to the end result on the screen? It would be super-cool to somehow overlay code fragments on the actual screen. To help see how the grid is driven by the code. I bet all you Advanced Coders have some super secret cool tool! (or you are so far beyond needing anything...) Stachel |
#2
|
||||
|
||||
dreamweaver ? macromedia..
wouldn't that work or help |
#3
|
||||
|
||||
I use indents.
|
#4
|
|||
|
|||
The Tab button is my best friend. And i can't stress this enough. WHITESPACE!!!!!.
Wrong HTML Code:
<table class="class" cellpadding="0" cellspacing="0" width="100%" border="0"><tr> <td>Hello</td> </tr></table> HTML Code:
<table class="class" cellpadding="0" cellspacing="0" width="100%" border="0"> <tr> <td>Hello</td> </tr> </table> HTML Code:
<table class="class" cellpadding="0" cellspacing="0" width="100%" border="0"> <tr> <td> something pretty long will go here. Stop looking at my code<br /> something pretty long will go here. Stop looking at my code<br /> something pretty long will go here. Stop looking at my code<br /> something pretty long will go here. Stop looking at my code<br /> something pretty long will go here. Stop looking at my code<br /> something pretty long will go here. Stop looking at my code<br /> something pretty long will go here. Stop looking at my code<br /> </td> </tr> </table> HTML Code:
<table class="class" cellpadding="0" cellspacing="0" width="100%" border="0"> <tr> <td> <table class="class" cellpadding="0" cellspacing="0" width="100%" border="0"> <tr> <td>Blah</td> </tr> </table> </td> </tr> </table> |
#5
|
||||
|
||||
Quote:
Allthoguh I've also got to say that in the small field we have for editing templates, it all gets shoved together, which is kind of sad. Never got used to clicking the button for a bigger field... |
#6
|
|||
|
|||
Quote:
Heres what i do when i want to edit or add a template. If im adding a template, i code it in my editor, then copy and paste it when im finished. If im editing a template, i CRT+A to the template to select all the code, and i copy and paste it in my editor and start my editing. When im done, i paste it back into the template box. My way may seem longer, but I'm a FireFox user and the Search option that is apart of vBulletin templates do not work with FF. So there for i would have to use FF's HIGHLIGHT feature which sucks. So i just do it that way. |
#7
|
||||
|
||||
Quote:
|
#8
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|