Forum Overview :: Break This Forum
 
maybe not as bad as it looks by Lufteufel 01/18/2003, 11:19pm PST
Entropy Stew wrote:

Lufteufel wrote:

FAG


Fuck. Thanks for the report.

-/ES/-


If you just catch position:absolute inside styles, you should at least be able to force the content inside the post box. For example:


/* fixes position: in style tags */
$text = eregi_replace("<[[:space:]]*style([[:print:]]*)position[[:space:]]*:[[:space:]]*absolute([[:print:]]*)/style[[:space:]]*>",
"<style\\1position:relative\\2/style>", $text);
/* fixes position: in style attributes */
$text = eregi_replace("style=([^>]*)position[[:space:]]*:[[:space:]]*absolute([[:print:]]*)>",
"style=\\1position:relative\\2>", $text);


Note that I'm a total PHP n00b, so these may be horribly ineffective.
PREVIOUS NEXT REPLY QUOTE
 
fag.css by Lufteufel 01/18/2003, 1:48am PST NEW
    Yay. Another fucking bug for me to not have time to fix by Entropy Stew 01/18/2003, 3:06pm PST NEW
        maybe not as bad as it looks by Lufteufel 01/18/2003, 11:19pm PST NEW
            Thanks, but I need to overhaul the entire filter system anyways by Entropy Stew 01/19/2003, 2:00am PST NEW
 
powered by pointy