redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Friday 03 September 2010 04:36

Ask your IT question here

CSS selector to select all the td elements inside each other


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Programming Forums -> CSS forum
View previous topic :: View next topic  
Author Message
Jackil
Enthusiastic Coder


Joined: 24 May 2006
Posts: 97
Hey :) I've some columns grouped in a <col>. what's the CSS selector to select all the 'td' elements inside each group?
Reply with quote
 
PaulKolin
Enthusiastic Coder


Joined: 25 May 2006
Posts: 108
Runa, you apply css properties for the col element. you are limited in selection for them though. and browser support is crappy.
Users tend to want to print what they see, so if they have interactively modified the page, they want to print that.

Reply with quote
 
Jackil
Enthusiastic Coder


Joined: 24 May 2006
Posts: 97
PaulKolin, I don't care about browser support. I've noticed that "col {overflow: hidden;}" doesn't changes anything
Reply with quote
 
PaulKolin
Enthusiastic Coder


Joined: 25 May 2006
Posts: 108
Runa, ok. well, what should it change?
it just affects how it looks in browsers, and you dont care about them.

Reply with quote
 
Jackil
Enthusiastic Coder


Joined: 24 May 2006
Posts: 97
PaulKolin, I mean, Im developing this for internal use, firefox. I don't care if it doesn't works in ie. but I want to be able to specify the overflow property without having to add a className to each td
Reply with quote
 
PaulKolin
Enthusiastic Coder


Joined: 25 May 2006
Posts: 108
Jackil, but overflow cant be used on columns.
Http://www.w3.org/TR/REC-CSS2/tables.html#q4

Reply with quote
 
Jackil
Enthusiastic Coder


Joined: 24 May 2006
Posts: 97
PaulKolin, I want to use it in in tds
Reply with quote
 
PaulKolin
Enthusiastic Coder


Joined: 25 May 2006
Posts: 108
No, you said you wanted to use it on columns.
Reply with quote
 
Jackil
Enthusiastic Coder


Joined: 24 May 2006
Posts: 97
Yes, It was a mistake. but I said after "without having to add a className to each td"
So, do you have an answer or you want to play ? :)

Reply with quote
 
PaulKolin
Enthusiastic Coder


Joined: 25 May 2006
Posts: 108
Yes, you are describing that you want to use it on columns.
And you cant do that on columns, read the w3 rec i sent you. you are limited in what properties you can apply to columns.

Reply with quote
 
Page 1 of 2 Goto page 1, 2  Next
Post new topic   Reply to topic    Programming Forums -> CSS forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Based on phpBB © 2001-2010 RedHo