Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Web Programming CSS

A Confusion of Styles

Author: xml.com | Published: 10th Aug 2005 | Visited: 754 times | Add Comment
Filed in: CSS

by 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

 Generating Aesthetic line styles A novel way to create complex line patt ...

  Designing Flex 3 skins and styles  Automate the skinning and styling workflow using Flex Builder 3 and ...

  Warped text styles are not preserved when Flash CS3 Professional imports a PSD   In Adobe Flash CS3 Professional, when you import a PSD file that contains warped text and select Import This Text Layer As: Vector Outlines, the text will be imported but it will loose it's warped style.Warp a text layer in Adobe Photosh... ...

 Styling Forms with CSS - Part 1: Accessibility and Form Element Styles Learn to create accessible forms using the latest CSS techniques instead of tab ...

 An introduction into WPF Styles And Templates An introduction into WPF Styles And Templ ...

 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 2: Client-Side Mashups Learn how a client-side mashup works, and explore some of the considerations related to this mashup approa ...

 Working With Styles in the Sun Java Studio Creator 2 IDE Learn how to customize the styles of different components and create custom CSS style sheets with special editors from within the Sun Java Studio Creator 2 IDE in this tech tip by Winston Prakash and Beth Stea ...

 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 ...



Next: Distributing Server Load to the Client with XML and XSL



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links