Using the following CSS to style alert as inline:
xforms|alert {
display: inline;
width: 40%;
background-color: #FFD700;
width: 280px;
font-style: italic;
}
Assume form control bound to a node with an invalid
value on form loading.
Alert text is only displayed when a form control has
received focus. Alert text is displayed in a pop-up
message box. When button labelled "Close ..." is
activated the alert text is displayed inline, along
with a button labelled "Close ..." beneath the text.
The button in the message box disappears, but the
message box remains (though it is closable).