The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Quote:
The problem still exists. Apparently this problem also exists with the "nonthread" class on the forumdisplay template when there are no posts in the forum. Ugh.. |
#12
|
||||
|
||||
Hey everyone, don't forget about the css calc ability .
Try changing the template code to this: Code:
<ol id="forums" class="floatcontainer" style="max-width:calc(100% - 2px) !important;"> So by saying go 100% we will but then we tell it to remove the spare 2px we noticed it increased. By using max-width we told it not to be bigger than 100% but somewhere as you can all plainly see something else bumped it up, I'd imagine some additional padding added somewhere along the line while you were customizing your style. |
2 благодарности(ей) от: | ||
MarkFL, TrultToast |
#13
|
||||
|
||||
Quote:
HTML Code:
#info { width:calc(100% + 2px) !important; } |
Благодарность от: | ||
TheLastSuperman |
#14
|
||||
|
||||
Thank you very much Mike and Mark!
When I tried Mikes suggestion. It sadly did nothing, but when I did what mark suggested and put Mikes code in my additional.css file under the class "#info", it did work. Thank you both very much again! edit: Just out of curiosity, is there a reason why I need to keep adding this to some of my boxes? Like what did I do wrong to make 100% not work correctly without adding "width: calc(100% + 2px) !important;"?? |
#15
|
||||
|
||||
Quote:
More info here: .. https://css-tricks.com/box-sizing/ |
2 благодарности(ей) от: | ||
TrultToast, z3r0 |
#16
|
||||
|
||||
^ Also to further elaborate on what Seven Skins was explaining in regards to adding borders... if you add a border to an element that did not have it prior, it can cause any sub-elements or those who "used to" share a similar css definition appear differently hence what SevenSkins was explaining with the now its 102px wide comment above but now similar areas will look smaller as they were not adjusted. In the past I've went so far as to trace down all the other elements and added in:
Code:
border: 1px solid transparent !important; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|