This project has moved. For the latest updates, please go here.

Icon Column Width

Topics: User Forum
Aug 26, 2009 at 7:43 AM

I have a question about tables with icons in the first column.  The width of the icon column grows as the window is expanded.  Is there any way to make it width stay fixed?  I only want it wide enough to show the icon but it does not need to resize upon resize of the window.

Sandcastle 2.4.10520 (May 2008 Release)
Sandcastle Styles
VS2005 Presentation Style


Jason Newell

Aug 26, 2009 at 7:36 PM

It does render a class attribute on the header cell (iconColumn) but the style doesn't exist in the VS2005 stylesheet.  You might try adding the style to C:\Program Files\Sandcastle\Presentation\VS2005\styles\Presentation.css to see if you can set the width.  It is defined as follows in the Hana and Prototype styles:

th.iconColumn {
 width: 60px;



Aug 26, 2009 at 10:28 PM

Thanks for responding Eric but that didn't work.

I found this tag is making it resize.  <col width="10%" />

It actually gets embedded into the HTML so I'm going to have to find where it's being written from and fix it.  I may still have to play around with the width because the icon column width is still wider than the actual icon.  I'm looking for a snug fit in the width. 

Thanks again,