Jump to content
Sign in to follow this  
alione

How to put only one Box just in center of the page.

Recommended Posts

alione

hi . i only need one , but by default stays at left and need it at center

Share this post


Link to post
Share on other sites
Rob
Make sure you have only one box and that the boxes set up shows just one. Then, in Custom Code > CSS Rules, try this. #dcol {float:center !important;} Please provide a link to your site.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alione
Thanks : i didnt work : Its here ( at the bottom left ) http://acrees2.acrees.es/?page_id=80

Share this post


Link to post
Share on other sites
kastelic
try; [code]#fbox_10{margin-left:415px !important;}[/code]

Share this post


Link to post
Share on other sites
kastelic
looks like you figured out another solution.

Share this post


Link to post
Share on other sites
alione
yes , its not working . I am having strange problems . all goes to left.

Share this post


Link to post
Share on other sites
kastelic
Where's it all going to the left? Which part of the page specifically are you trying to center?

Share this post


Link to post
Share on other sites
alione
only that Box : i have tried many things and only one box always goes to left

Share this post


Link to post
Share on other sites
Rob
I believe Catrina meant that you should copy and paste ALL your custom code CSS rules here so we can see if there are any styling conflicts.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
alione
all ? MY god. ok her it goes : @charset "utf-8"; /* CSS Document */ /*^'^ Navigation Structure ^'^*/ .nav-container-outer{ background: #990000; padding: 0px; height: 74px; background: url(images/nav-bg.jpg); } .float-left{ float: left; } .float-right{ float: right; } .nav-container .divider{ display:block; font-size:1px; border-width:50px; border-style:solid; } .nav-container .divider-vert{ float:left; width:0px; display: none; } .nav-container .item-secondary-title{ display:block; cursor:default; white-space:nowrap; } .clear{ font-size:1px; height:0px; width:0px; clear:left; line-height:0px; display:block; float:none; } .nav-container{ position:relative; zoom:1; margin: 0 auto; } .nav-container a, .nav-container li{ float:left; display:block; white-space:nowrap; } .nav-container div a, .nav-container ul a, .nav-container ul li{ float:none; } .nav-container ul{ left:-10000px; position:absolute; } .nav-container, .nav-container ul{ list-style:none; padding:0px; margin:0px; } .nav-container li a{ float:none } .nav-container li{ position:relative; } .nav-container ul{ z-index:10; } .nav-container ul ul{ z-index:20; } .nav-container ul ul ul{ z-index:30; } .nav-container ul ul ul ul{ z-index:40; } .nav-container ul ul ul ul ul{ z-index:50; } li:hover>ul{ left:auto; } #nav-container ul { top:100%; } #nav-container ul li:hover>ul{ top:0px; left:100%; } /*^'^ Primary Items ^'^*/ #nav-container a{ padding:7px 17px 7px 18px; margin: 10px 0px 0px 0px; color: #FFFFFF; font-family: Trebuchet MS, Arial, sans-serif, Helvetica; font-size:14px; text-decoration:none; font-weight: bold; background: url(images/item-primary-bg.gif); background-repeat: no-repeat; background-position: top; } #nav-container a:hover{ color: #6C3600; background: url(images/item-primary-bg.gif); background-repeat: no-repeat; background-position: center; } /*^'^ Secondary Items Container ^'^*/ #nav-container div, #nav-container ul{ padding:10px 4px 10px 4px; margin:0px 0px 0px 0px; background: url(images/item-secondary-container-bg.jpg); background-repeat: repeat-x; background-color: #FF9900; border-bottom: 1px solid #CA6500; } /*^'^ Secondary Items ^'^*/ #nav-container div a, #nav-container ul a{ padding:3px 10px 3px 6px; background-color: #FFFFFF; background: url(images/item-secondary-bg.jpg); background-repeat: no-repeat; background-position: 0px 22px; font-size:11px; border-width:0px; border-style:none; margin: 0px 0px 0px 0px; width: 149px; } /*^'^ Secondary Items Hover State ^'^*/ #nav-container div a:hover, #nav-container ul a:hover{ background-color: #FFFFFF; background: url(images/item-secondary-bg.jpg); background-repeat: no-repeat; color:#CC0000; } /*^'^ Secondary Item Titles ^'^*/ #nav-container .item-secondary-title{ cursor:default; padding:4px 0px 3px 7px; color: #6C3600; font-family: Arial, Trebuchet MS, Arial, sans-serif, Helvetica; font-size:11px; /* background: url(images/item-secondary-title-bg.jpg); */ background-repeat: no-repeat; font-weight:bold; } /*^'^ Horizontal Dividers ^'^*/ #nav-container .divider-horiz{ border-top-width:1px; margin:5px 5px; border-color: #C16100; } /*^'^ Vertical Dividers ^'^*/ #nav-container .divider-vert{ border-left-width:1px; height:15px; margin:4px 2px 0px 2px; border-color:#AAAAAA; } #nav_row { border: 0px !important; } { color: #FFFFFF; } map.journal-nav ul li a, map.journal-nav ul li a:visited { color: #000000; display: block; font-size: 80%; font-weight: bold; margin: 0; padding: 4px 5px; text-decoration: none; } map.journal-nav ul { list-style-type: none; text-align: left; } #page-canvas #sidebar_primary .widget { background-color: #FFFFFF; margin-bottom: 1em; overflow: hidden; margin: 10px 0; overflow: hidden; } #page-canvas #sidebar_primary .widget-title { background: none repeat scroll 0 0 # AFAFAF; color:#AFAFAF; font-size: 95%; margin: 0; padding: 5px 7px; } ..main_nav ul li:hover a {color: black !important;} .main_nav ul li:hover li a {color: #1c3260 !important;} .main_nav ul li:hover li a:hover {color: black !important;} quiar titulos de pagina h1, h1.pagetitle {font-size: 0;} blocquotes .hentry blockquote { -moz-border-radius:5px 5px 5px 5px; font-size:13px; font-style:italic; margin:1.5em 40px 1.5em 1.5em; padding:10px; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; } ul#menu-categorias li.menu-item {background-color: #EEB422;} ul#menu-categorias li.current-menu-item {background-color: #fff;} ul#menu-categorias li.menu-item a:hover {background-color: #fff;} .hentry blockquote { -moz-border-radius:5px 5px 5px 5px; font-size:13px; font-style:italic; margin:1.5em 40px 1.5em 1.5em; padding:10px; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }

Share this post


Link to post
Share on other sites
kastelic
Which element exacltly are you trying to center? I see no "box" section on that page. Please describe the element so I know where to look. Is it simply a heading tag? Or is it an actual pagelines "box"? Thanks.

Share this post


Link to post
Share on other sites
alione
Sorry by my delay . Finally i did not put any Box. I changed the full website . Many Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×