Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

HTML web resource layout issues Dynamics 365 online

Posted on by 190

We have a HTML web resource that was used successfully in CRM2011. We have recently migrated to 365 online and are facing a layout issue where visible components (in this case headings) are moving around when neighbouring components (in this case labels and buttons) are hidden. The Heading is moving to the location were the hidden field and button are. When the field and button are displayed (checkbox checked), the heading moves down to the correct position. We are using display:none to hide the components and this worked fine in  CRM2011. I have tried using visibility:hidden but this results in the hidden components never being visible.

Any advice appreciated

Phil

*This post is locked for comments

  • fillcrocker Profile Picture
    fillcrocker 190 on at
    RE: HTML web resource layout issues Dynamics 365 online

    Thanks Alex, I will take a look at the css on the web resource. Probably should have done that first.

    Thanks

    Phil

  • fillcrocker Profile Picture
    fillcrocker 190 on at
    RE: HTML web resource layout issues Dynamics 365 online

    So in 2011 the text field and button seemed to hold a place even when hidden but in 365 the heading is moving up into the space where the text field and button are when they are hidden. In our 2011 solution we are using display:none and this works fine. I have tried using visibility:hidden (as I read that this hides components but still keeps the space for them) but the heading is still moving up.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: HTML web resource layout issues Dynamics 365 online

    Hi,

     that makes it quite bit more complicated since we would not know how to answer that here - it all depends on what's happening in that HTML (including css styles etc). Although, I'm not aware of any specific reason why an HTML web resource would work differently in 2011. Except, maybe, if you are somehow re-using out-of-the-box css styles which may have changed.

  • fillcrocker Profile Picture
    fillcrocker 190 on at
    RE: HTML web resource layout issues Dynamics 365 online

    Hi Alex,

    They are HTML components in the web resource. The components that are moving are Headings and they are taking the position of the hidden components which are text boxes and buttons.

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: HTML web resource layout issues Dynamics 365 online

    Hi Phil,

     which components are moving - are those html components in the web resource, or are those out of the box "controls" on the dynamics form?

    Thanks,

    Alex

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans