Datagrid Sizing

G

Guest

Is it possible to specify (or somehow set) the amount of space between each
datagrid row without changing the amount of space between datagrid columns?

I have a datagrid displaying data which needs to print on specially-sized
labels. In order to accurately print one-datagrid row-per-label, I need to
somehow set 2-inches of blank space between each row.

CellPadding and CellSpacing settings affect the amount of space between
columns, as well as rows. But I need a way to just set a 2-inch margin
between each datagrid row.

Is it possible to accomplish this? Possibly printing a 2-inch blank row
between each legitimate row? Thanks.
 
E

Eliyahu Goldin

You need to use css styles and play with rules padding-top, padding-bottom,
margin-top, margin-bottom.

Eliyahu
 
J

John Blair

This is what i use to print a 2inch row exactly.

<table width=100% cellspacing=0 border=1 bordercolor=black cellpadding=0>
<tr>
<td style="height:2in" bgcolor="#9C0001" cellspacing=0 cellpadding=0
width=100%/>
</tr>
</table>
 
D

DM McGowan II

Eliyahu said:
You need to use css styles and play with rules padding-top, padding-bottom,
margin-top, margin-bottom.

Eliyahu

I adjust the height of each of the *Template styles except one (can't
remember which one) and it acts like a free floater that absorbs the
left over space. I think it was the footer template.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top