Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > css selector

Reply
Thread Tools

css selector

 
 
rodchar
Guest
Posts: n/a
 
      04-03-2008
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
 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      04-03-2008
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" <> wrote in message
news:6D655B89-EE32-43B9-8978-...
> 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



 
Reply With Quote
 
 
 
 
rodchar
Guest
Posts: n/a
 
      04-03-2008
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" <> wrote in message
> news:6D655B89-EE32-43B9-8978-...
> > 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

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CheckBoxList: CSS Selector for <LABEL FOR ... > ? timo ASP .Net 1 03-10-2009 01:34 AM
Any equivalent to Ruby's 'hpricot' html/xpath/css selector package? Kenneth McDonald Python 6 12-30-2008 01:38 PM
css selector as alias of another JakDaniel HTML 3 03-31-2007 10:26 PM
Proper order for settings to CSS border selector joshbeall@gmail.com HTML 9 07-23-2006 12:58 PM
CSS child selector -> alternative in JavaScript www.raph.nl HTML 0 10-03-2003 07:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57