How do I?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TimberLand
    Senior Member
    • Feb 2001
    • 148
    • 3.0.3

    How do I?

    What is the center vB code to center somtehing on a page.
    Dan Flynn
    http://www.powerwashnetwork.com
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    that's gonna be html in the templates. chances are good it's gonna be a table attribute for centering (vB is a ton of html tables to form the layout).

    <table>
    <tr>blah blah blah</tr>
    <td align="center">blah blah blah</td>
    </table>

    you just look for that align= attribute in the vB tables.

    Comment

    • Jake Bunce
      Senior Member
      • Dec 2000
      • 46598
      • 3.6.x

      #3
      ...or do you mean the code that a poster can use to center the content of their posts?

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 74212

        #4
        There isn't a vbCode for center by default. You will have to create your own.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • TimberLand
          Senior Member
          • Feb 2001
          • 148
          • 3.0.3

          #5
          wluke

          Can you give me an example, I tried to create my own and I couldn't figure it out. I know were to creat it in the cp. I just couldn't get it.
          Dan Flynn
          http://www.powerwashnetwork.com

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 74212

            #6
            Edit vB Code: [center]
            vB Code tag:
            center

            vB Code replacement:
            <p align="center">{param}</p>

            vB Code example
            Centered Text

            vB Code explanation
            Use this to center your text.

            Use {option} ?
            No
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            • TimberLand
              Senior Member
              • Feb 2001
              • 148
              • 3.0.3

              #7
              Thanks Wayne

              That is exactly what I was looking for.
              Dan Flynn
              http://www.powerwashnetwork.com

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...