The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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: 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. |
#2
|
||||
|
||||
If you can post a link to your site, I might can tell you what CSS to add to remedy the issue.
|
#3
|
||||
|
||||
Quote:
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. |
#4
|
||||
|
||||
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; } |
2 благодарности(ей) от: | ||
TrultToast, webmastersun |
#5
|
||||
|
||||
what do these codes mean?
|
Благодарность от: | ||
TrultToast |
#6
|
||||
|
||||
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.
|
#7
|
||||
|
||||
Quote:
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. |
#8
|
||||
|
||||
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 |
#9
|
||||
|
||||
Just tired this... no luck
|
#10
|
||||
|
||||
I don't see that on your site.
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. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|