The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How To Make This Align In Columns
This is what i have now:
With This: PHP Code:
|
#2
|
||||
|
||||
anyone?
|
#3
|
||||
|
||||
Last try
|
#4
|
||||
|
||||
Ok For real last try
|
#5
|
|||
|
|||
You could try:
Code:
. . $class = ($c % 2 == 0 ? 'alt2' : 'alt1'); eval('$categorybits .= "<tr>\n<td class=\"$class\" width="33%"> <span class=\"smallfont\">' . ($group['limit'] ? '(Top $group[limit] by $order)' : '') . '</span><div style=\"margin-left: 0.5%\">";'); . . (adding the part in red) but I'm not sure. Also, it looks like the code is set up to allow a variable number of columns, and this of course assumes 3. (It would be easy enough to use the number of categories and put in code to calulate the percentage for equal width columns, but at least see if it works at all first). |
#6
|
||||
|
||||
thanks for the try but when i put that in there it messes it all up moved the boxes header below the list and removed border and back ground from the list any more ideas? I need 7 or 8 collums
|
#7
|
|||
|
|||
I guess I misunderstood. I probably should have asked, which part is it exactly that you want to align in columns?
|
#8
|
||||
|
||||
the group names
|
#9
|
||||
|
||||
Have you tried putting them in div tags with a set width instead of in span tags?
|
#10
|
||||
|
||||
How would that be done?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|