3

In SharePoint 2013, I added a Content Editor Web Part and then specified a Content Link. After I did that, other Web Part titles were truncated on the left hand side. This side effect even extended to pop-up windows.

  • What is the Content Editor Web Part doing? Is there some code that is targeting all web part titles? – Jordan Dec 14 '15 at 21:26
  • The content editor content link is providing a simple HTML string that provides an URL for the target list and an URL for a help page. Being an unsophisticated user, I edited the HTML in Word and saved it in content filtered HTML. When I view source I notice that a whole bunch of CSS tags are still being redefined but why does the scope of the CSS changes extend beyond the page I'm working on. This doesn't make sense to me. – Dave Brauer Dec 14 '15 at 21:41
  • Word is not a webeditor and adds a whole lot of CSS. Use SharePoint Designer. – Danny '365CSI' Engelman Dec 15 '15 at 8:28
  • OK, I'll try that. – Dave Brauer Dec 15 '15 at 18:20
  • Stripping out all of the style definitions introduced by Microsoft Word solved the problem. I guess in Word, even when you select to save as Web Page, Filtered it still doesn't filter out the style definitions. I had to go back to the "old days" and edit the HTML in NotePad. – Dave Brauer Dec 16 '15 at 2:14
2

Stripping out all of the style definitions introduced by Microsoft Word solved the problem. I guess in Word, even when you select to save as Web Page, Filtered it still doesn't filter out the style definitions. I had to go back to the "old days" and edit the HTML in NotePad.

I would have liked to have used SharePoint Designer but it did a weird thing to my code. I was using hrefs of the form: For some unknown reason SharePoint Designer didn't like the named target=HelpTxt tag. It kept stripping it out. Its strange because I know SharePoint Designer allows target="_blank" as a tag.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.