Hi, My name is Riteshe.
I'm developing a web system, and i´m using CSS for tables.
well i have 2 tables, one i´m using CSS and other i´m not using. the problem is that the CSS is applied for both table. i know that i can differ using Class or ID, but i´m having problem in situation like this:

tbody td a {
background: transparent;
color: #72724c;
text-decoration: none;
}

tbody td a:hover {
background: transparent;
color: #636363;
}

its correct to do tbody td a.class name?

plz anyone help me.

Thanks

ya you are code like "tbody td a " this whenever u use a tag inside table it will apply

if you want to use css properties for different tables code it in separate classes

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.