Hi, all
How do I define a css selector for TD elements working only if it is in a
table which has a class ="something" ? Thanks a lot!
Jack 6 1065
table.something tr td {color:burple;}
"datactrl" <qu***@tpg.com. au> wrote in message
news:41******** @dnews.tpgi.com .au... Hi, all
How do I define a css selector for TD elements working only if it is in a table which has a class ="something" ? Thanks a lot!
Jack
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.744 / Virus Database: 496 - Release Date: 8/25/2004
Thanks, Hal Rosser.
It works with table.something tr td {color:burple;} . I try to do like:
table.something .another.3rd tr td {color:burple;}
It seems to work for "3rd" only. That is I try to specify a table with a
class name of "something" , "another" or "3rd".
Jack
"Hal Rosser" <hm******@bells outh.net> wrote in message
news:i3******** **********@bign ews1.bellsouth. net... table.something tr td {color:burple;}
"datactrl" <qu***@tpg.com. au> wrote in message news:41******** @dnews.tpgi.com .au... Hi, all
How do I define a css selector for TD elements working only if it is in
a table which has a class ="something" ? Thanks a lot!
Jack
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.744 / Virus Database: 496 - Release Date: 8/25/2004
table.something tr td,
table.another tr td,
table.3rd tr td {color:burple;}
Just curious, why would you ask this in a JavaScript newsgroup?
datactrl wrote: Thanks, Hal Rosser.
It works with table.something tr td {color:burple;} . I try to do like: table.something .another.3rd tr td {color:burple;} It seems to work for "3rd" only. That is I try to specify a table with a class name of "something" , "another" or "3rd".
Jack
"Hal Rosser" <hm******@bells outh.net> wrote in message news:i3******** **********@bign ews1.bellsouth. net... table.something tr td {color:burple;}
"datactrl" <qu***@tpg.com. au> wrote in message news:41******** @dnews.tpgi.com .au... Hi, all
How do I define a css selector for TD elements working only if it is in a table which has a class ="something" ? Thanks a lot!
Jack
--
Grant Wagner <gw*****@agrico reunited.com>
comp.lang.javas cript FAQ - http://jibbering.com/faq
Thanks Grant. It works. Why I ask css questions here is just because
javascript, dhtml and css are always involved each other on the page
authorising. Anyway this questions actually has nothing with javascript,
just expect the help form one newsgroup.
Jack
"Grant Wagner" <gw*****@agrico reunited.com> wrote in message
news:41******** *******@agricor eunited.com... table.something tr td, table.another tr td, table.3rd tr td {color:burple;}
Just curious, why would you ask this in a JavaScript newsgroup?
datactrl wrote:
Thanks, Hal Rosser.
It works with table.something tr td {color:burple;} . I try to do like: table.something .another.3rd tr td {color:burple;} It seems to work for "3rd" only. That is I try to specify a table with a class name of "something" , "another" or "3rd".
Jack
"Hal Rosser" <hm******@bells outh.net> wrote in message news:i3******** **********@bign ews1.bellsouth. net... table.something tr td {color:burple;}
"datactrl" <qu***@tpg.com. au> wrote in message news:41******** @dnews.tpgi.com .au... > Hi, all > > How do I define a css selector for TD elements working only if it is
in a > table which has a class ="something" ? Thanks a lot! > > Jack
-- Grant Wagner <gw*****@agrico reunited.com> comp.lang.javas cript FAQ - http://jibbering.com/faq
On Sat, 4 Sep 2004 00:36:21 +1000, datactrl <qu***@tpg.com. au> wrote: Thanks Grant. It works. Why I ask css questions here is just because javascript, dhtml and css are always involved each other on the page authorising. Anyway this questions actually has nothing with javascript,
Which is the point of Grant's, probably rhetorical, question.
just expect the help form one newsgroup.
However, it would be better to get help from the most appropriate group.
CSS questions should be directed to
comp.infosystem s. www.authoring.stylesheets
By the way, the 'tr' in the selectors suggested so far are superfluous. A
TD element must always be a child of a TR element as a basic requirement
of HTML. Nothing is gained by specifying that relationship in the selector.
table.something td,
table.another td,
table.3rd td {color:burple;}
will do just fine and involve less processing by the user agent.
[snip]
Mike
Please don't top-post.
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
datactrl wrote: [...] Why I ask css questions here is just because
you lack a minimum Usenet clue.
javascript, dhtml and css are always involved each other on the page authorising.
Nonsense.
Anyway this questions actually has nothing with javascript,
So post to comp.infosystem s.www.authoring .stylesheets!
just expect the help form one newsgroup. [Top post]
Take heed of the <http://jibbering.com/faq/> or go away.
PointedEars
--
Get your bug fixed and stop it breeding. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: eScrewDotCom |
last post by:
eScrew
Welcome to eScrew!
eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew
story if you promise eScrew to consider eScrew story as joke. eScrew
story is very funny. eScrew story is so funny that eScrew will have to
take break from time to time because eScrew needs some rest from
laughing. Oh boy, here it comes......
|
by: Brandon J. Van Every |
last post by:
What's better about Ruby than Python? I'm sure there's something. What is
it?
This is not a troll. I'm language shopping and I want people's answers. I
don't know beans about Ruby or have any preconceived ideas about it. I have
noticed, however, that every programmer I talk to who's aware of Python is
also talking about Ruby. So it...
|
by: eScrewDotCom |
last post by:
eScrew
Welcome to eScrew!
eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew
story if you promise eScrew to consider eScrew story as joke. eScrew
story is very funny. eScrew story is so funny that eScrew will have to
take break from time to time because eScrew needs some rest from
laughing. Oh boy, here it comes......
|
by: nospam |
last post by:
Reasons for a 3-tier achitecture for the WEB?
(NOTE: I said, WEB, NOT WINDOWS.
DON'T shoot your mouth off if you don't understand the difference.)
I hear only one reason and that's to switch a database from SQL Server to
Oracle or DB2 or vice versa... and that's it.... And a lot of these
enterprises don't need it as they already know what...
|
by: Sarah Tanembaum |
last post by:
Beside its an opensource and supported by community, what's the fundamental
differences between PostgreSQL and those high-price commercial database (and
some are bloated such as Oracle) from software giant such as Microsoft SQL
Server, Oracle, and Sybase?
Is PostgreSQL reliable enough to be used for high-end commercial
application? Thanks
| |
by: eScrewDotCom |
last post by:
www.eScrew.com
eScrew
Welcome to eScrew!
eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew
story if you promise eScrew to consider eScrew story as joke. eScrew
story is very funny. eScrew story is so funny that eScrew will have to
take break from time to time because eScrew needs some rest from
laughing. Oh boy,...
|
by: Matt |
last post by:
I have 2 questions:
1. strlen returns an unsigned (size_t) quantity. Why is an unsigned
value more approprate than a signed value? Why is unsighned value less
appropriate?
2. Would there be any advantage in having strcat and strcpy return a
pointer to the "end" of the destination string rather than returning a
|
by: eScrewDotCom |
last post by:
eScrew
Welcome to eScrew!
eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew
story if you promise eScrew to consider eScrew story as joke. eScrew
story is very funny. eScrew story is so funny that eScrew will have to
take break from time to time because eScrew needs some rest from
laughing. Oh boy, here it comes......
|
by: Edward Yang |
last post by:
A few days ago I started a thread "I think C# is forcing us to write
more (redundant) code" and got many replies (more than what I had
expected). But after reading all the replies I think my question about
local variable initialization is still not solved. And some of the
replies forked into talking about out parameters. And the thread is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |