aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes What to Do If I Do Not Want Text to be Hard Coded in HTML? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What to Do If I Do Not Want Text to be Hard Coded in HTML?" Watch "What to Do If I Do Not Want Text to be Hard Coded in HTML?" New topic
Author

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

Daniel Gee
Ranch Hand

Joined: Aug 29, 2003
Posts: 202
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Feb 19, 2005
Posts: 77
Eric, you mean using technique which called "javascript triggers"?
Another solution is using dynamic server side webpages
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What to Do If I Do Not Want Text to be Hard Coded in HTML?