<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Tooltip HTML not honoring CSS styles in InfraWorks Forum</title>
    <link>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10900278#M2926</link>
    <description>&lt;P&gt;I am an ex-web dev helping a designer to style tooltips for an InfraWorks model. We are trying to get text to wrap around to the next line, but the tooltip appears to be ignoring some CSS properties. The main problem is that while I can reduce the size of the tooltip, I cannot size my div or text elements which will not break/wrap until the width is reduced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears correct in the visual view and when loading the HTML/CSS in a browser.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a09182af-2670-4030-95d6-1926f51ceab9.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1015049iB1B78D86BF672880/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a09182af-2670-4030-95d6-1926f51ceab9.png" alt="a09182af-2670-4030-95d6-1926f51ceab9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However when rendered in Infraworks, the width of elements (other than tooltip) appear to be ignored or overwritten. If it is the latter, the important flag does not stop this from happening.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13787d46-69ee-4e07-a395-f06c1ffde157.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1015047i905E04A2A8FA3BFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13787d46-69ee-4e07-a395-f06c1ffde157.png" alt="13787d46-69ee-4e07-a395-f06c1ffde157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;tooltip radius="20"&amp;gt;
    &amp;lt;style&amp;gt;
	max-width:400px;
    &amp;lt;/style&amp;gt;
&amp;lt;/tooltip&amp;gt;
    
&amp;lt;div style="max-width:400px;"&amp;gt;
    &amp;lt;h2&amp;gt; Heading 1 &amp;lt;/h2&amp;gt;
    &amp;lt;br&amp;gt;
    &amp;lt;p style="color:red;"&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris&amp;lt;/p&amp;gt;

    &amp;lt;br&amp;gt;
    &amp;lt;br&amp;gt;
    &amp;lt;h2&amp;gt; Heading 2 &amp;lt;/h2&amp;gt;
    &amp;lt;br&amp;gt;
    &amp;lt;p style="color:red;"&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried setting the width of the paragraph elements inline and from the tooltip's style block as well, but to now avail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jan 2022 02:26:21 GMT</pubDate>
    <dc:creator>taylor.carnell</dc:creator>
    <dc:date>2022-01-24T02:26:21Z</dc:date>
    <item>
      <title>Tooltip HTML not honoring CSS styles</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10900278#M2926</link>
      <description>&lt;P&gt;I am an ex-web dev helping a designer to style tooltips for an InfraWorks model. We are trying to get text to wrap around to the next line, but the tooltip appears to be ignoring some CSS properties. The main problem is that while I can reduce the size of the tooltip, I cannot size my div or text elements which will not break/wrap until the width is reduced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears correct in the visual view and when loading the HTML/CSS in a browser.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a09182af-2670-4030-95d6-1926f51ceab9.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1015049iB1B78D86BF672880/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a09182af-2670-4030-95d6-1926f51ceab9.png" alt="a09182af-2670-4030-95d6-1926f51ceab9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However when rendered in Infraworks, the width of elements (other than tooltip) appear to be ignored or overwritten. If it is the latter, the important flag does not stop this from happening.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13787d46-69ee-4e07-a395-f06c1ffde157.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1015047i905E04A2A8FA3BFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13787d46-69ee-4e07-a395-f06c1ffde157.png" alt="13787d46-69ee-4e07-a395-f06c1ffde157.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code is as follows:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;tooltip radius="20"&amp;gt;
    &amp;lt;style&amp;gt;
	max-width:400px;
    &amp;lt;/style&amp;gt;
&amp;lt;/tooltip&amp;gt;
    
&amp;lt;div style="max-width:400px;"&amp;gt;
    &amp;lt;h2&amp;gt; Heading 1 &amp;lt;/h2&amp;gt;
    &amp;lt;br&amp;gt;
    &amp;lt;p style="color:red;"&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris&amp;lt;/p&amp;gt;

    &amp;lt;br&amp;gt;
    &amp;lt;br&amp;gt;
    &amp;lt;h2&amp;gt; Heading 2 &amp;lt;/h2&amp;gt;
    &amp;lt;br&amp;gt;
    &amp;lt;p style="color:red;"&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris&amp;lt;/p&amp;gt;
&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried setting the width of the paragraph elements inline and from the tooltip's style block as well, but to now avail.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 02:26:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10900278#M2926</guid>
      <dc:creator>taylor.carnell</dc:creator>
      <dc:date>2022-01-24T02:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip HTML not honoring CSS styles</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10904152#M2927</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11962787"&gt;@taylor.carnell&lt;/a&gt;&amp;nbsp;you need to add the &lt;STRONG&gt;forcewebview&lt;/STRONG&gt; attribute in the tooltip header like this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;&amp;lt;tooltip radius="20" forcewebview="true"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohnDeLeeuw_0-1643109600741.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1015842i4980CC80EEA7F3DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohnDeLeeuw_0-1643109600741.png" alt="JohnDeLeeuw_0-1643109600741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;For simple tooltip content there is no web view used. The advantage is, that the size of the tooltip gets adjusted automatically. Nevertheless, sometimes not all html elements or styling are visualized correctly in this case. Then it might be necessary to force the use of the web view by setting this property to true.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 11:20:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10904152#M2927</guid>
      <dc:creator>John_de_Leeuw-NTI</dc:creator>
      <dc:date>2022-01-25T11:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tooltip HTML not honoring CSS styles</title>
      <link>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10905825#M2928</link>
      <description>Awesome. Working Well. Cheers!</description>
      <pubDate>Tue, 25 Jan 2022 21:25:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/infraworks-forum/tooltip-html-not-honoring-css-styles/m-p/10905825#M2928</guid>
      <dc:creator>taylor.carnell</dc:creator>
      <dc:date>2022-01-25T21:25:07Z</dc:date>
    </item>
  </channel>
</rss>

