CMS Development

paulbrowne
Member

Nesting of div's inside spans

Hubspots cms will automatically put divs inside spans which is invalid html.

My html is scattered with markup like...

 

<span id="hs_cos_wrapper_section_header" class="...">
    <div>
       some content
    </div>
</span>

 

 This isn't very good from a standards point-of-view... Is it really not possible for the cms to change the spans to divs at least?

1 Reply 1
Jlamb1
Contributor

Nesting of div's inside spans

No, this is the COS's Responsive Grid. It's a standard 12 col grid based on Bootstrap.

 

If you create a custom coded template you can make this however you like - Drag and Drop templates will always have this layout however

0 Upvotes