vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How do i center-align vbulletin page after applying custom width? (https://vborg.vbsupport.ru/showthread.php?t=231114)

Jon@Refresh 01-16-2010 10:54 PM

Does anyone know how to alter the width of the CMS? The changes in this thread only apply to the forum.

alvin_mx 01-18-2010 01:20 AM

excelent thanks!

rlvassallo 01-22-2010 05:10 PM

Quote:

Originally Posted by consolegaming (Post 1943893)
For the margin you don't need to do the top part mentioned. i.e. if you leave use top for all sides as No and just set the left and right margins to auto then that'll work fine. And that means if you need to add a margin to the top or bottom you can do. Usually you won't need to but I felt it worth mentioning.

thanks this worked well.:up:

mmhmm 01-27-2010 02:01 AM

Quote:

Originally Posted by consolegaming (Post 1943893)
For the margin you don't need to do the top part mentioned. i.e. if you leave use top for all sides as No and just set the left and right margins to auto then that'll work fine. And that means if you need to add a margin to the top or bottom you can do. Usually you won't need to but I felt it worth mentioning.


thank you this work perfectly.

ChrisG. 01-27-2010 05:45 AM

Quote:

Originally Posted by consolegaming (Post 1943893)
For the margin you don't need to do the top part mentioned. i.e. if you leave use top for all sides as No and just set the left and right margins to auto then that'll work fine. And that means if you need to add a margin to the top or bottom you can do. Usually you won't need to but I felt it worth mentioning.


Thanks. This thread has been helpful to me, so it gets a "thank you" bump.

cheers

nima6 08-27-2011 06:29 PM

It worked for me too.

Thanks for the help. I spent a lot of time finding this solution :)

ribone 04-20-2013 05:39 AM

Many thanks for this, quickly sorted.

thedino 07-18-2014 04:09 PM

Thanks, works in 4.2.2 also

malmazan 04-29-2017 08:08 AM

You can still keep a margin adding something like this to the additional.css template


HTML Code:

html { margin: 0 2%;}


All times are GMT. The time now is 01:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01096 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete