Fb:error
From Facebook Developer Wiki
Contents |
Description
Renders a standard Facebook error message. The content within the <fb:error> tags is used as the error message text.
Attributes
| Required | Name | Type | Description | |
| required | message | string | The heading text to display in the error box. Alternately, you can specify the heading text using an fb:message child. | |
|---|---|---|---|---|
| optional | decoration | string | Customize the appearance of the error by choosing among two styles:
|
Examples
<fb:error message="Error message" />
![]() |
<fb:error>
<fb:message>Error message</fb:message>
This is the error message text.
</fb:error>
![]() |
Notes
- The error must contain at least one fb:message child or the
messageattribute as the heading text. - You can center the text of the messages by adding this CSS:
.standard_message, .standard_message p {
text-align:center;
}


