File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What to Do If I Do Not Want Text to be Hard Coded in HTML?

 
Daniel Gee
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have learned to use the cascading style sheet (CSS) to control the presentation of my HTML web page. And I can also control the font, color, etc. of "the text" in the HTML web page by using CSS.

What if I do not want "the text" to be hard coded in the HTML file? Do I give a logical name of "the text" in the HTML file; say [ProjectName.UTC.Register.RequestDetails.BasicUnit]? Do I provide "the actual text" in CSS? How do I provide the actual text in CSS?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this:
http://www.quirksmode.org/css/content.html

not supported widely...

Eric
[ March 14, 2005: Message edited by: Eric Pascarello ]
 
Eugene Lucash
Ranch Hand
Posts: 77
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric, you mean using technique which called "javascript triggers"?
Another solution is using dynamic server side webpages
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic