- Sep 14, 2000
- 978
- 393
- 136
I want to apply a personal style to this HTML snippet:
<p><center><font color="#cc0000"><strong>Note:</strong> Remember that this is only a preview, and has not yet been saved!</font></center></p>
Based on advice from someone, I am trying to use a selector of:
p>center>font>strong to style that text, as follows:
p>center>font>strong { font-size: larger; text-decoration: blink; }
But it doesn't seem to work. When I look up CSS selectors, I never see a syntax like I am trying to use.
Am I even close? This is in Wikipedia, BTW.
<p><center><font color="#cc0000"><strong>Note:</strong> Remember that this is only a preview, and has not yet been saved!</font></center></p>
Based on advice from someone, I am trying to use a selector of:
p>center>font>strong to style that text, as follows:
p>center>font>strong { font-size: larger; text-decoration: blink; }
But it doesn't seem to work. When I look up CSS selectors, I never see a syntax like I am trying to use.
Am I even close? This is in Wikipedia, BTW.