|
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. |
|
 |
|
 |
|
|
|