web hosting and development forums
Web Design and Development Forums Archive


Index - HTML forum

CSS selector to select all the td elements inside each other


Post reply

Hey :) I've some columns grouped in a <col>. what's the CSS selector to select all the 'td' elements inside each group?
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.
PaulKolin, I don't care about browser support. I've noticed that "col {overflow: hidden;}" doesn't changes anything
Ahum. I didn't knew I couldn't use overflow in tds. so, what can I do to limit the width of a td if I have a long word without spaces (ie, no line break)?
Runa, ok. well, what should it change? it just affects how it looks in browsers, and you dont care about them.
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
Jackil, but overflow cant be used on columns. Http://www.w3.org/TR/REC-CSS2/tables.html#q4
PaulKolin, I want to use it in in tds
No, you said you wanted to use it on columns.
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 ? :)
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.
Cut it
Peter Pitt: using css? How?
With :hover
I don't know how to do it. what should I do with hover?
Http://www.alistapart.com/articles/horizdropdowns




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com