Connecting Tech Pros Worldwide Forums | Help | Site Map

CSS equivalent for cellpadding in a datagrid ?

vivekian
Guest
 
Posts: n/a
#1: Jul 31 '06
Hi,

Trying to place the styling properties of a datagrid in a CssClass.
What would be the equivalent for
1. cellpadding
2. cellspacing
3. gridlines

properties of a datagrid in CSS .

thanks in advance..
vivekian


clintonG
Guest
 
Posts: n/a
#2: Jul 31 '06

re: CSS equivalent for cellpadding in a datagrid ?


Is your Google broke? Search on articles that explain the box model. You
want to see a diagram that illustrates the use of the border, margin and
padding properties and it will (should) become clear.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"vivekian" <viveklinux@gmail.comwrote in message
news:1154362538.119645.234870@p79g2000cwp.googlegr oups.com...
Quote:
Hi,
>
Trying to place the styling properties of a datagrid in a CssClass.
What would be the equivalent for
1. cellpadding
2. cellspacing
3. gridlines
>
properties of a datagrid in CSS .
>
thanks in advance..
vivekian
>

vivekian
Guest
 
Posts: n/a
#3: Jul 31 '06

re: CSS equivalent for cellpadding in a datagrid ?



clintonG wrote:
Quote:
Is your Google broke? Search on articles that explain the box model. You
want to see a diagram that illustrates the use of the border, margin and
padding properties and it will (should) become clear.
No , my google aint broke. Also, aware of the box model. But would like
to know what are the equivalent css styling properties of cellpading
and cellspacing for a datagrid in asp.net ?
Somehow padding / margin does seem to do be equivalent to cellpadding
or cellspacing .. maybe i am wrong.

thanks in advance ..

clintonG
Guest
 
Posts: n/a
#4: Aug 1 '06

re: CSS equivalent for cellpadding in a datagrid ?


Is your browser broke? Read the source of the page generated by the
DataGrid.
I tried to tell you the equivalent are the CSS border, margin and padding
properties.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/


"vivekian" <viveklinux@gmail.comwrote in message
news:1154366136.225344.237170@p79g2000cwp.googlegr oups.com...
Quote:
>
clintonG wrote:
Quote:
>Is your Google broke? Search on articles that explain the box model. You
>want to see a diagram that illustrates the use of the border, margin and
>padding properties and it will (should) become clear.
>
No , my google aint broke. Also, aware of the box model. But would like
to know what are the equivalent css styling properties of cellpading
and cellspacing for a datagrid in asp.net ?
Somehow padding / margin does seem to do be equivalent to cellpadding
or cellspacing .. maybe i am wrong.
>
thanks in advance ..
>

Closed Thread