|
July 5, 2000 Resolving Style Conflicts Tips: July 2000
Yehuda Shiran, Ph.D.
|
|
Now that Cascaded Style Sheets have
become popular, you need to pay attention to conflicts in style specifications
as it's possible to inadvertently specify conflicting styles to the same element.
Here's an example:
and now you also specify a table with two cells:
which looks like this:
STYLE specifications. The right cell is colored yellow, because there is only a BGCOLOR specification that does not override the global kuku class definition. We can conclude that particular STYLE definitions override global statements, while element attributes take precedence over global STYLEs.
People who read this tip also read these tips: Look for similar tips by subject: |