Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Access and style the HTML code for the article.
Jonathan,
Greetings! I see that you are having quite a time trying to figure out how to achieve this hack. I do have a friendly, constructive piece of advice for you.
As per the definitive guide to HTML and XHTML, published by O’Reilly, a span tag is primarily for special cases where you may want to alter the appearance of only a portion of a tag’s contents – usually text.
Since you are trying to achieve the effect for the entire paragraph and all the lines in it, you don’t need to use it. You can make the existing wraptags and CSS do exactly what you want.
Now, for the more pressing point. As a professional design student and intern, I would encourage you to double-think styling your text in this way. Unless the effect which you are trying to achieve is very avant-garde or cutting-edge, and being used in a very limited fashion, I wouldn’t advise styling your backgrounds or text as they are presented in any of your examples. The text became incredibly confusing and unless you are trying to say something metaphorically by doing this, it many times defeats the purpose of putting any text in the page at all.
The second point is purely theoretical.
Again, I should stress that this is purely my opinion, and I do not mean malice by my critique.
tb
Last edited by timmy (2006-01-03 02:17:53)
Offline
Re: Access and style the HTML code for the article.
Thanks Timmy, point taken.
Offline