![]() |
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.. |
Hey everyone, don't forget about the css calc ability :D.
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. |
Quote:
HTML Code:
#info { |
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;"?? |
Quote:
More info here: .. https://css-tricks.com/box-sizing/ |
^ 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; |
All times are GMT. The time now is 07:45 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|