473,320 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

CSS equivalent for cellpadding in a datagrid ?

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

Jul 31 '06 #1
3 3531
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" <vi********@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
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

Jul 31 '06 #2

clintonG wrote:
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 ..

Jul 31 '06 #3
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" <vi********@gmail.comwrote in message
news:11**********************@p79g2000cwp.googlegr oups.com...
>
clintonG wrote:
>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 ..

Aug 1 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Graham J | last post by:
Apologies for the partial post that mysteriously escaped as I was composing. I shall try again. For many years I have been happily and successfully coding tables such that the WIDTH specified...
1
by: Vannela | last post by:
Is there any equivalent control in .NET for the Power builder DataWindow control? I am explaining the Datawindow architecture to some extent. Power Builder DataWindow Control has got different...
2
by: Sunkam Santhoshi | last post by:
Is there any equivalent control in .NET for the Power builder DataWindow control? I am explaining the Datawindow architecture to some extent. Power Builder DataWindow Control has got different...
1
by: Brent Mondoux | last post by:
Hey everyone, I'm trying to find the best non-spaghetti code way to do the equivalent of a ColdFusion CFQUERY GROUP command so that I can display a FAQ with categories as follows: -- Example:...
0
by: virendra.chandra | last post by:
in datagrid cellpadding is not working. can u suggest what could be the possible error. this is my code <asp:datagrid id="test1" Runat="server" Width="700" Enabled="True"...
22
by: Alan Silver | last post by:
Hello, I am updating some old web pages, and have come across a problem. I have some tables where the opening tag looks like... <table border="1" bordercolor="#ffffff"> which gives a nice...
7
by: Mitchell S. Honnert | last post by:
Is there an equivalent of the DataGrid's DataGridTableStyle for the DataGridView? If not, is there an easy way to duplicate the DataGridTableStyle's functionality for the DataGridView? Here's...
1
by: Tarun | last post by:
In asp.net 2.0 Gridview is equivlent to Datagrid in asp.net1.1.. with more facialities. Datagrid Item Command is Equivalent to RowCommand in Grid View. But from the grid view command how can i get...
2
by: Big Bill | last post by:
What's the CSS equivalent for that frequently found table coding? Roughly speaking? I know that speaking of equivalents can itself lead one into a semantic nightmare but, loosely speaking, what...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.