J
jack
Hello.
Is it possible to set a css class for a table and then set a different class
for one of the elements of the table ie a cell (TD)?
I have a page with the following css:-
font { font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10pt;
color: #FFFFFF;
}
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 10pt;
color: #FFFFFF;
}
a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFF00;
text-transform: uppercase;
font-weight:900;
text-decoration: none;
****THE ABOVE IS APPLIED TO THE PAGE*******
..php {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..php a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..php a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
text-transform: none;
color: #FFF000;
background-color: #10184A;
}
******THE ABOVE CLASS 'PHP' IS APPLIED TO A TABLE*****
..grand {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..grand a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..grand a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: 900;
color: #FFF000;
text-transform: uppercase;
}
*********THE ABOVE CLASS 'GRAND' IS APPLIED TO A CELL****
The first 2 work. The table adopts the formating of the php class but the
cell doesn't use the formatting of the 'grand' class. It just follows the
php class assigned to the whole table.
Doew anyone know what I've done wrong?
Thanks.
Is it possible to set a css class for a table and then set a different class
for one of the elements of the table ie a cell (TD)?
I have a page with the following css:-
font { font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
font-size: 10pt;
color: #FFFFFF;
}
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
text-decoration: none;
font-size: 10pt;
color: #FFFFFF;
}
a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: #FFFF00;
text-transform: uppercase;
font-weight:900;
text-decoration: none;
****THE ABOVE IS APPLIED TO THE PAGE*******
..php {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..php a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..php a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
text-transform: none;
color: #FFF000;
background-color: #10184A;
}
******THE ABOVE CLASS 'PHP' IS APPLIED TO A TABLE*****
..grand {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..grand a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: bold;
color: #FFFFFF;
text-decoration: none;
}
..grand a:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: 900;
color: #FFF000;
text-transform: uppercase;
}
*********THE ABOVE CLASS 'GRAND' IS APPLIED TO A CELL****
The first 2 work. The table adopts the formating of the php class but the
cell doesn't use the formatting of the 'grand' class. It just follows the
php class assigned to the whole table.
Doew anyone know what I've done wrong?
Thanks.