element.style footer margin-top

2 replies · opened May 5, 2016

CCJMadarasMay 5, 2016

I'm having issues with some code dynamically writing a margin-top for my footer section. I'm not able to isolate where it is coming from, but when I comment out the call to js/jquery.js at the bottom of the page the margin-top code goes away(that breaks several other items on the page). Ive tested in several browsers getting the same result. The size of the margin-top changes, depending on the size of the browser window. I clearly do not see the "style="margin-top: 651px;"" in my HTML document, but I have tried to overwrite the code with code of my own, but it doesn't seem to work. Additionally I have several pages on the site I'm working on, but only this one has this code on it.

Any help?

SSemicolon WebSTAFFMay 6, 2016

Hello,

According to your issue, it seems like your Footer Code is outside the #wrapper Container which is causing this issue. Please make sure that you add all your Content inside the #wrapper Container. Follow the HTML Structure as suggested in the Documentation > Start > HTML Structure Section.

This will definitely fix your issue. Let us know if we can help you with anything else or if you find any further issues.

CCJMadarasMay 6, 2016

Thank you!

That seems to have helped with the issue!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard