Theming request - Please move inline styles to stylesheet

(ampburner) #1

On my forum I have some custom CSS to make the footer of the page a different background-color from the white body (and also to take the entire width of the page)

This works great, except sometimes when new content is loaded. Then I see some 40px worth of whitespace at the bottom of the footer.

I believe this is due to an inline style which I suppose is being dynamically added to the #main-outlet element via javascript.

I have a simple request. Whenever the added padding is needed, is it possible to set it via a CSS class instead of inline css?
That way I could override the whitespace with my own custom stylesheet.

Please note - this is not just a “please change your software to match the exact needs of my specific implementation” type of request.
It’s simply good practise to avoid inline styles.

body #topic-list-bottom,
body #suggested-topics {
position: absolute;
margin-top: 60px;
padding: 40px 10px 0px 10px;
left: 0;
width: 100%;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: #272524;
color: #333;

(Jeff Atwood) #2

Is this still an issue? did we fix this?

(ampburner) #3

styling is still inline for this element, but I haven’t seen the side-effect. So as far as I’m concerned, I can live with the current implementation.