[geeklog-devel] system messages

Eric Warren eakwarren at gmail.com
Wed May 28 10:38:36 EDT 2008


I've noticed that it is difficult to directly style the system message box.
Dirk, in lib-common.php would you be willing to change:

                . '<p><img src="' . $_CONF['layout_url']
                . '/images/sysmessage.' . $_IMAGE_TYPE . '" alt="" '
                . 'style="padding-right:5px; padding-bottom:3px;
border:none; float:left;"' . XHTML . '>'
                . $message . '</p>'

to:

                . '<p class="sysmessage"><img src="' . $_CONF['layout_url']
                . '/images/sysmessage.' . $_IMAGE_TYPE . '" alt="" '
                . XHTML . '>' . $message . '</p>'

and then include the following in style.css:

.sysmessage img {
border:none;
float:left;
padding-bottom:3px;
padding-right:5px;
}

This would remove hard-coded styling and allow greater layout flexibility in
styling the system message.

Thx!

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist8.pair.net/pipermail/geeklog-devel/attachments/20080528/87fda8fe/attachment.html>


More information about the geeklog-devel mailing list