Documentation Prolog Predicate Reference dom set_style/3

set_style/3

Set the CSS property of an HTML element.

Description

set_style( +htmlObject, +atom, +atom )

set_style(HTMLObject, Property, Value) sets the property Property of HTMLObject to Value. set_style always succeeds, unless HTMLObject is the document object, in which case the predicate fails without returning an error.

Implementation