css selector

hey all,
if i have a cssclass for my table row is there anyway to select a particular
column to style without having to assign each tablecell a cssclass?

thanks,
rodchar
rodchar [ Do, 03 April 2008 17:15 ] [ ID #1934565 ]

Re: css selector

How is the table created?

If you are using a GridView, you can explicitly state your columns and add
styling to a particular column. In fact, it is quite easy to do this with
any bindable control.

If you are bindign, but not using a GridView, a Repeater allows you a lot of
flexibility, as it is essentially repeating HTML.

If you are building a table by scratch, you can use some tools (VS 2008
should allow you to select a column, I know there are other HTML editors
that will), but it is not as easy programatically.

Hope this helps.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"rodchar" <rodchar [at] discussions.microsoft.com> wrote in message
news:6D655B89-EE32-43B9-8978-7BD0DACEF929 [at] microsoft.com...
> hey all,
> if i have a cssclass for my table row is there anyway to select a
> particular
> column to style without having to assign each tablecell a cssclass?
>
> thanks,
> rodchar
NoSpamMgbworld [ Do, 03 April 2008 17:56 ] [ ID #1934570 ]

Re: css selector

thanks for the insight,
rod.

"Cowboy (Gregory A. Beamer)" wrote:

> How is the table created?
>
> If you are using a GridView, you can explicitly state your columns and add
> styling to a particular column. In fact, it is quite easy to do this with
> any bindable control.
>
> If you are bindign, but not using a GridView, a Repeater allows you a lot of
> flexibility, as it is essentially repeating HTML.
>
> If you are building a table by scratch, you can use some tools (VS 2008
> should allow you to select a column, I know there are other HTML editors
> that will), but it is not as easy programatically.
>
> Hope this helps.
>
> --
> Gregory A. Beamer
> MVP, MCP: +I, SE, SD, DBA
>
> Subscribe to my blog
> http://gregorybeamer.spaces.live.com/lists/feed.rss
>
> or just read it:
> http://gregorybeamer.spaces.live.com/
>
> *************************************************
> | Think outside the box!
> |
> *************************************************
> "rodchar" <rodchar [at] discussions.microsoft.com> wrote in message
> news:6D655B89-EE32-43B9-8978-7BD0DACEF929 [at] microsoft.com...
> > hey all,
> > if i have a cssclass for my table row is there anyway to select a
> > particular
> > column to style without having to assign each tablecell a cssclass?
> >
> > thanks,
> > rodchar
>
>
>
rodchar [ Do, 03 April 2008 18:04 ] [ ID #1934575 ]
Microsoft » microsoft.public.dotnet.framework.aspnet » css selector

Vorheriges Thema: URGENT... Need help with .cs file...
Nächstes Thema: Q: Getting values when redirecting to a new page...