We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18097
    • 33 Posts
    Hi all

    I am sure you must’ve come across this, but my MODx CMS automatically puts the body tag in with margins.

    However, the W3C validator does not like these and is returning the following:

    Line 142, column 19: there is no attribute "marginwidth"
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
    Line 142, column 36: there is no attribute "marginheight"
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
    Line 142, column 51: there is no attribute "leftmargin"
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">
    Line 142, column 65: there is no attribute "topmargin"
    <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0">

    Any idea how I remove these?

    Thanks
      • 18097
      • 33 Posts
      Ignore me, this is my own stupid fault in the templates.