vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Box borders don't line up? (https://vborg.vbsupport.ru/showthread.php?t=324032)

TrultToast 12-17-2016 04:10 AM

Box borders don't line up?
 
Howdy!

I seem to have a problem where a few boxes don't exactly line up right even though they are both at 100%.

Here is an example of the problem:
https://vborg.vbsupport.ru/external/2016/12/9.png

The blue box on top doesn't line up with the rest of the threadlist and the threadlisthead seems to be missing the bottom right hand corner of the border... I honestly have no idea how to fix this. :confused:

MarkFL 12-17-2016 04:40 AM

If you can post a link to your site, I might can tell you what CSS to add to remedy the issue. :)

TrultToast 12-23-2016 09:05 PM

Quote:

Originally Posted by MarkFL (Post 2579532)
If you can post a link to your site, I might can tell you what CSS to add to remedy the issue. :)

Sorry for the late reply... I was having computer issues.
Here you go: https://boards.rottensquash.com/

I've also noticed the issue on my forum homepage in the box that shows the stats. :erm:
Also don't mind all the spam posts, I was just testing something, haha.

MarkFL 12-24-2016 05:24 AM

Try adding this to your "additional.css" template:

HTML Code:

#thread_inlinemod_form div {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
}


webmastersun 12-25-2016 06:29 PM

Quote:

Originally Posted by MarkFL (Post 2579824)
Try adding this to your "additional.css" template:

HTML Code:

#thread_inlinemod_form div {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
}


what do these codes mean?

MarkFL 12-25-2016 06:33 PM

Quote:

Originally Posted by webmastersun (Post 2579867)
what do these codes mean?

The issue seemed to be that the custom style used by the OP is a mix of table and div elements. I found that by making the borders of the div elements display on the inside rather than on the outside as they do by default, then the elements appear to be the same size.

TrultToast 12-27-2016 01:16 AM

Quote:

Originally Posted by MarkFL (Post 2579869)
The issue seemed to be that the custom style used by the OP is a mix of table and div elements. I found that by making the borders of the div elements display on the inside rather than on the outside as they do by default, then the elements appear to be the same size.

Thanks for explaining. I was about to ask that question too, lol.
Any chance you could help me fix my forumhome template too? Sorry to be a bother... I tried using the code you supplied above in a few spots but I had no luck in fixing the borders in my statistics box.

Seven Skins 12-27-2016 06:33 PM

You are inserting a table in OL tags .. hence they don't line up.
This may work.. warp the table in LI tags and use the same class as other LI tags on the forumhome page.

TrultToast 12-27-2016 11:56 PM

Quote:

Originally Posted by Seven Skins (Post 2579927)
You are inserting a table in OL tags .. hence they don't line up.
This may work.. warp the table in LI tags and use the same class as other LI tags on the forumhome page.

Just tired this... no luck :confused:

Seven Skins 12-28-2016 08:59 AM

I don't see that on your site.

https://vborg.vbsupport.ru/external/2016/12/1.png

You cannot insert table in ol or ul lists... as mentioned earlier warp the table in li tag or move the table out of ol tags.


All times are GMT. The time now is 03:59 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.01050 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_html_printable
  • (5)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
  • (10)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