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)
-   -   Strange <center> of content (https://vborg.vbsupport.ru/showthread.php?t=315045)

TheAdminMarket 10-25-2014 08:17 AM

Strange <center> of content
 
Hello,

I've lost my mind trying to figure out why my contect is centering at:

http://www.xxx24.gr/dating.php

Within the page templates I was able to fix it by adding align="center". But look at the footer. Content appears centered.

Now look in another vB pages:
http://www.xxx24.gr/forum.php
http://www.xxx24.gr/blog.php

What on heck I'm doing wrong in the dating templates?

Thank you

Dave 10-25-2014 09:15 AM

additional.css contains:

HTML Code:

        body {
                text-align:center;
        }

Remove that and the text is no longer centered.

TheAdminMarket 10-25-2014 09:34 AM

Thank you, but can't find anything similar to additional.css.

Here is the content:
HTML Code:

html {
    background: url("images/xxx24/misc/bodybg.jpg") no-repeat center top #333;
    background-attachment: fixed;
    background-color: #333 !important;
}
div.forcetoregister {
background:url({vb:stylevar imgdir_misc}/register.png);
background-repeat: no-repeat;
width:300px;
height:200px;
padding:0 5px 3px;
position:fixed;
right:1px;
bottom:0px;
z-index:9999;
}

#newnav {
height: 30px;
background: url(images/xxx24/gradients/header-back.png) top left repeat-x;
border-bottom: 1px solid #000;
}

.toplinks {
position: relative;
padding-top:5px;
padding-right:0px;
}

.navtabs {
height: 56px;
}

.navtabs li:first-child {
border: 0;
}

.navtabs li a.navtab:hover {
height: 56px;
background-image: url("images/xxx24/gradients/tabon-red.png");
background-position: center top;
min-width: 113px;
max-width: 113px;
width: 113px;
line-height: 44px;
border: 0;
font-size: 11px;
}

.navtabs li.selected a.navtab {
color: #fff;
}

.navtabs li a.navtab {
height: 56px;
background-image: url("images/xxx24/gradients/taboff.png");
background-position: center top;
min-width: 113px;
max-width: 113px;
width: 113px;
line-height: 44px;
border: 0;
font-size: 11px;
padding: 0;
}

.navtabs li a {
padding: 0;
}

.navtabs li {
border: 0;
}

.navbar {
height: 78px;
}

.navtabs ul {
top: 53px;
border: 0px solid #1a1a1a;
}

.navbar_advanced_search li {
padding-top: 28px;
}

.globalsearch .searchbutton {
padding-top: 8px;
}

.globalsearch input.textbox {
height: 21px;
width: 150px;
border: 1px solid #2c2c2c;
background: url(images/bTech/gradients/bodytop.png) top left repeat-x;
}

.globalsearch .textboxcontainer span {
  padding-top: 8px;
}

.globalsearch .textboxcontainer span, .globalsearch .textboxcontainer, .globalsearch .buttoncontainer span, .globalsearch .buttoncontainer {
border: 0;
}

 #blueWrap {
margin: 0;
background-color: #f2f2f2;
height:100%;
}

#blueRight {
padding-right: 7px;
background: url(images/xxx24/gradients/border_left.png) top right repeat-y;
}

#blueLeft {
padding-left: 7px;
background: url(images/xxx24/gradients/border_right.png) top left repeat-y;
}

#usercp_content #forum_icon_legend, #wgo_legend, .forum_info .options_block_container, .thread_info .options_block_container  {
display:none;
}

#forumthreadpost {
display:none;
}

/* Awesome Footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

.footer1 {
    margin-top: -13px;
    background: #000;
    min-height: 140px;
    padding: 15px 0 15px;
    border-radius: 0px 0px 0px 0px;
}
.footer1 .container .col4 h3 {
   
    font:small-caps bold 15px Tahoma,Calibri,Verdana,Geneva,sans-serif;
    margin-bottom: 22px;
    text-shadow: none;
    border-bottom: 1px solid #FFFFFF;
    color: #FF0000;
    margin-bottom: 10px;
    padding-bottom: 7px; 
}

.hfont {
    color: #fff;
    font:small-caps bold 13px Tahoma,Calibri,Verdana,Geneva,sans-serif;
}
.footer1 p {
    text-shadow: none;
}
.footer1 a {
    color: whitesmoke;
    text-shadow: 0 1px 0 #373736;
    font:small-caps bold 13px Tahoma,Calibri,Verdana,Geneva,sans-serif;
}
.footer1 a:hover {
    color: #FF0000;
}
.footer1 ul li {
    background: url("social/icon_dot.gif") no-repeat scroll 0 8px transparent;
    margin-bottom: 7px;
    padding-left: 10px;
  }
.col4 {
    float: left;
  margin-left: 25px;
    width: 202px;
}

.footer1 .container .col4 h3 {
    margin-bottom: 20px;
}

.fallowus {
    width: 226px;
}


Dave 10-25-2014 09:48 AM

My bad, it's in one of the following templates:

forumhome.css,options.css,vbcms.css,widgets.css,si debar.css,forumhome-rollup.css,usercp.css,additional.css

It looks like this, you could search for it in the templates:

HTML Code:

/* Overriding default Grid css values for RTL compatability */
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
*/
/*
        Note: Throughout this file, the *property (star-property) filter is used
    to give a value to IE that other browsers do not see. _property is only seen
    by IE7, so the combo of *prop and _prop can target between IE6 and IE7.
*/

/*
        Section: General Rules
*/

        body {
                text-align:center;
        }


TheAdminMarket 10-25-2014 03:31 PM

I tried searching for text-align:center; but it brought me a list for some dozens of templates. Seems impossible to figure where it is hidden.

I'll give a try to modify the footer by adding text-align:left. Seems that it will be easier.

--------------- Added [DATE]1414259594[/DATE] at [TIME]1414259594[/TIME] ---------------

Finally I edited the css for footer and everything seems to work fine in all non vB pages:
http://www.xxx24.gr/dating.php
http://www.xxx24.gr/escorts.php
http://www.xxx24.gr/discuss.php
http://www.xxx24.gr/coupons.php

Thank you very much for your time. Really appreciated.


All times are GMT. The time now is 01:36 AM.

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.02131 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete