CS Nuglet: The default Chameleon inline CSS tag is DIV

This is a nuglet worth it’s bits.  If adding an inline CssCode property to a Chameleon element, remember that the default CSS tag generated is a DIV tag, which means that you’ll see line-breaks and not be able to figure out why. 

Add a tag=”Span” property (in bold below) and you’ll be in Community Server CSS bliss once again.

<DBVT:POLineDetailsImageLink ID=”POLineDetailsImageLink2″ runat=”server” CssClass=”PopOver” Tag=”Span” />

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.