AnsweredAssumed Answered

Alfresco's use of CSS global styles causes problems

Question asked by stk137 on Oct 2, 2007
the styles applied to all html elements (div, td, a, etc) rather than a class interfere with the display of HTML in templates and elsewhere.

a particular problem is the font size and weight on all anchors

a:link, a:visited
   font-size: 11px;
   color: #004488;
   text-decoration: none;
   font-family: Tahoma, Arial, Helvetica, sans-serif;
   font-weight: normal;
   color: #4272B4;
   text-decoration: underline;
   font-weight: normal;

So even if I have a link in a H3 or anything else setting the font style it still gets render as 11px/normal.  It's not only annoying to have to add font-size:inherit;font-weight:inherit; to every single anchor, but there seems to be a bug with the WYSIWYG editor which removes styles from anchors making this impossible with inline editing.

Please get away from using these and create classes instead.