Here's where the famous phrase returns: "there may beimplementation-specific limits." User agents aren'trequired to support this type of effect.
Before we go any further, let's see what happens when we addbox properties to inline elements.
order to match the decoration color with each element, you need to explicitly declare the decoration, as follows:P {text-decoration: underline; color: black;}
B {color: gray; text-decoration: underline;}
<P>This paragraph, which is black and has a black underline, also contains
<B>boldfaced text</B> which has its own gray underline.</P>
In Figure 4-62, the B element is set to be gray and to have an underline. The gray underline "overwrites" the parent's black underline, and sofont-weight: bold;} P {margin-left: 5em; position: relative;} <P> Lorem ipsum, dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut <SPAN CLASS="change">***</SPAN> laoreet dolore magna aliquam erat volutpat.</P>

Remember when we mentioned static-position much earlier in the chapter? Here's one example of how it works and how it can be very useful.