Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 29 Apr 2017, 19:02
Fleiding's Avatar
Fleiding Fleiding is offline
 
Join Date: Jan 2012
Real name: Rob
Container not centered

I'm using the following CSS in additional.css to create a container around my forum (div opening in header and closing in footer):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

As you can see in this picture (or forum) the container is slightly centered off to the right. I'm using the same CSS without any issues on WordPress. Can anyone help me with centering the container?

Last edited by Fleiding; 29 Apr 2017 at 19:11.
Reply With Quote
  #2  
Old 29 Apr 2017, 20:02
Dave Dave is online now
 
Join Date: Jun 2010
Real name: Dave
Get rid of the width attribute of the body element and it will center properly.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #3  
Old 29 Apr 2017, 20:11
Fleiding's Avatar
Fleiding Fleiding is offline
 
Join Date: Jan 2012
Real name: Rob
Thanks, Dave!
Reply With Quote
  #4  
Old 29 Apr 2017, 20:15
Dave Dave is online now
 
Join Date: Jun 2010
Real name: Dave
No problem. Veel succes met je forum.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 00:03.

Layout Options | Width: Wide Color: