1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Boxes aren't centering.

Discussion in 'Styling and Customization Questions' started by JABRONI, Oct 14, 2011.

  1. JABRONI

    JABRONI Well-Known Member

    My text is centering just fine but anything in a container doesn't center. Is there a way to make it so the boxes are aligned with the text automatically when I post?

    [​IMG]
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Style Properties -> Message Layout -> Main Content -> Miscellaneous: text-align: center;

    That will do it for every post, all content.

    Or use the[CENTER][/CENTER] tags for individual posts.
     
  3. JABRONI

    JABRONI Well-Known Member

    Well see, it is automatically posted from XenMedio so I can't do the center tags and the text align css didn't work either.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Then you need to post in the add-on thread as that is the default style property for post content.
     
  5. JABRONI

    JABRONI Well-Known Member

    Actually, it's all quote boxes for any kinda coding on the site.

    I don't want to center the text, I need to center the containers that contain the text, you know how to do that?
     
  6. Digital Doctor

    Digital Doctor Well-Known Member

    Isn't this type of stuff browser-specific ?
     
  7. JABRONI

    JABRONI Well-Known Member

    I looked at it in Chrome & Firefox. They are both the same way; off center.
     
  8. EQnoble

    EQnoble Well-Known Member

    if you start a convo with a link in it I will take a look for you

    is this what you want to do?

    vffghgghhg.png
     
  9. JABRONI

    JABRONI Well-Known Member

    this is what I want to do, I want this

    [​IMG]

    to look like this

    [​IMG]

    i want all containers to auto-center
     
  10. EQnoble

    EQnoble Well-Known Member

    To do this you will manually have to set the widths of each bbcode block class manually.

    Do you want you boxes static sized or do you want them fluid?
     
  11. JABRONI

    JABRONI Well-Known Member

    I just want them to be centered. I don't really care. I can only guess to be centered like I desire, they must be at a fixed size?
     
  12. EQnoble

    EQnoble Well-Known Member

    well no...but a fluid element that is not the full width of it's parent that is also fluid is slightly more involved

    Short story....yes you can.

    (make note of your current settings changes before changing them , just grab a screen shot same as you did with the images above this time of your settings.)

    bbcblock.png bbcquote.png

    On the default style this worked for me
     
  13. JABRONI

    JABRONI Well-Known Member

    That worked, thank you so much!
     
  14. EQnoble

    EQnoble Well-Known Member

    no problem ....

    if that video was halo 2 and not reach ...it might have shown me in a match where everyone is shooting sniper rifles that shoot out bouncy-sticky grenades while playing TeamDM on campaign maps :)

    Good luck with your site :)
     
  15. EQnoble

    EQnoble Well-Known Member

    you can set those page widths to px instead of % as well, this way they will be static and the space on the sides of them will be fluid. just another option to have in the pocket
     

Share This Page