• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Getting Others to Contribute > Format Members' Posts p. 84

Format Members' Posts p. 84

  • If you want to apply two separate kinds of formatting to two different parts of a single member's posts, you can combine the Display Name with a special word in the class attribute. For example, you could create the style rule: .Louisebyline{color:red} and then add byline after <$BlogItemAuthorNickname$> in the class attribute in the span tag around the byline element you want to format. The result is that Louise's byline element will be red (but not italic) while the post body will stay italic and the same color as before.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint