GeekArticles
Web Programming
CSSA Confusion of Styles
Author: xml.com |
Published: 10th Aug 2005 |
Visited: 754 times |
Add CommentFiled in: CSSby John E. Simpson January 28, 2004 Q: How do I style a custom element's content? I want two elements (QUESTION and ANSWER) to be declared in an external DTD. The QUESTION element's data is to be displayed in red, and the ANSWER element's data is to be displayed in green. For this, an external stylesheet needs to be used. How do I include the DTD in my HTML document? Here's the relevant code: queans.dtd: <?xml-stylesheet type="text/css" href="clr.css"?> <!ELEMENT QUESTION (#PCDATA)>...n
Read Article Sponsored Links
Related Articles
• World of Confusion As the anti-OOXML mob's technical and editorial objections evaporate, and consequently as the reasonable people increasingly see that ISO is delivering a good result for them and jump ship, the rabid anti-OOXML misinformation campaign is ramping up. The basic strateg ...
• Mashup Styles, Part 1: Server-Side Mashups This series examines some of the most common approaches, or styles, for doing mashups. Part 1 focuses on server-side mashups and discusses the major design considerations related to this mashup st ...
• Mashup Styles, Part 1: Server-Side Mashups This series examines some of the most common approaches, or styles, for doing mashups. Part 1 focuses on server-side mashups and discusses the major design considerations related to this mashup st ...