Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > CMS Datalist Layout View modes: 
User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/9/2010 12:38:43 PM
   
CMS Datalist Layout
I'm using a CMS Datalist webpart with 3 columns and table layout and want to know how can I set the table's cell spacing and padding as well as a cell's vertical alignment? Or are there other CSS options I can use for a flow layout?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 12/10/2010 9:03:51 AM
   
RE:CMS Datalist Layout
Hi,

you could set padding, spacing of cells using CSS styles. You can enwrap datalist (Content before, Content after properties) with div with some CSS class and then specify styes for <td> tags within context with this class, e.g.:

.myClass td
{
// put your styles here
}

Please let me know if I can be of any further assistance.

Best regards,
Ivana Tomanickova

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/10/2010 9:25:51 AM
   
RE:CMS Datalist Layout
Still learning all the tricks yet and this was a good one. Thanks, worked like a charm!