[geeklog-devel] Allowable HTML and 'style'

Rob Griffiths robg at macosxhints.com
Wed Jan 26 10:44:50 EST 2005


On my current (GL 1.3.7+) site, I use this <div> command to make a nice 
outlined box:

<div style="border:1px solid #000099; background-color: #FFFDBB; 
padding: 5px; margin-left: 5%; margin-right: 5%;">

This works great, and I want to do the same in 1.3.9 (or .10 or .11), 
when I finally upgrade. My dev server is running 1.3.9, so I tried 
adding the following to config.php, in the Admin HTML section:

'div'   => array('class' => 1, 'id' => 1, 'style' => 1),

This sorta works, except the above <div> is munched from what I enter 
into this:

<div style="1px solid #000099; background-color: #FFFDBB; padding: 5px; 
margin-left: 5%; margin-right: 5%;">

Why is it erasing 'border:', but leaving everything else?

thanks;
-rob.




More information about the geeklog-devel mailing list