ItemStyle
(1)
CssClass
(1)
Gridview
(1)
Rakesh
(1)
Greg
(1)
Rak
(1)
Horizonal
(1)

Gridview horizonal cell spacing/padding

Asked By Gre
07-Sep-07 02:40 PM
Is there a way to set the horizontal cell spacing or padding of a gridview
without setting the vertical spacing/padding?  I'd like to be able to put
some space between the columns without putting space between the rows.

Thanks,
Greg

Greg,Try the CssClass attribute in ItemStyle for each column you want to

Asked By Ra
07-Sep-07 03:38 PM
Greg,
Try the CssClass attribute in ItemStyle for each column you want to format.


cssclass:
.col
{
padding-right:10px;
padding-left:50px;
}

HTH,
Rakesh

Gridview horizonal cell spacing/padding

Asked By Gre
07-Sep-07 04:30 PM
Excellent, that is just what I was trying to do!  Thanks so much!

Greg
Post Question To EggHeadCafe