## DFrameStyle : setMessageFontFamily

## DFrameStyle : setMessageFontSize

## DFrameStyle : setMessageColor

## DFrameStyle : setMessageBgColor

## DFrameStyle : setMessageBold

## DFrameStyle : setMessageItalic

Those methods set the properties of the text set in the DFrame with the alert and addAlert methods.

Demo

file: alert.html

Run the example
See the source code

### Syntaxes

DFrameStyle.setMessageFontFamily(faceName)

DFrameStyle.setMessageFontSize(number)

DFrameStyle.setMessageColor(color)

DFrameStyle.setMessageBgColor(color)

DFrameStyle.setMessageBold(flag)

DFrameStyle.setMessageItalic(flag)

### Parameters

faceName

String. The name of the face for the text of the Button according to HTML standards.

number

Integer. The size of the text of the Button according to HTML standards.

color

In hexa RGB code or browser compatible code. Use null or a empty string for transparent color

flag

If true set bold / italic attributes to the text.