Function: hfy-box
hfy-box is a byte-compiled function defined in htmlfontify.el.gz.
Signature
(hfy-box BOX)
Documentation
Derive CSS border-* attributes from the Emacs :box attribute BOX.
Source Code
;; Defined in /usr/src/emacs/lisp/htmlfontify.el.gz
(defun hfy-box (box)
"Derive CSS border-* attributes from the Emacs :box attribute BOX."
(if box
(cond
((integerp box) (list (cons "border-width" (format "%dpx" box))))
((stringp box) (list (cons "border" (format "solid %s 1px" box))))
((listp box) (hfy-box-to-style box) ))) )