01-31-2010, 06:52 PM
(01-31-2010, 06:37 PM)RPicard Wrote: I don't really see the the purpose of CSS in posts but HTML would be nice to have. I'm not fully aware of the drawbacks of it though. There's probably a good reason why most sites don't allow it.
As long as SCRIPT and I/FRAME tags are disallowed from the use, there is nothing that can damage the site... I think...
Basiclly every code that uses a SRC attribute, including IMG, LINK and few others..
But you also don't need these tags, there is a myCode for images... and so on...
The ability to style those elements with CSS will give the poster some "uniqueness" so to say... We will be able to design our Posts not just simply bold a text here and underline it there...
It is most probably disallowed on most site, because it can get hard to control it...
I mean... If I would post something like this;
Code:
<div style="width:100%;height:100%;position:absolute;top:0;left:0;z-index:1000;background:#000000;"></div>
Everyone would see a Black page, because the div is set to be 100% 100% in size and also the most top element z-index...
Therefor the user would not be able to browser further without pressing the Back button...
But z-index and position values are not needed in posts, PHP can take care of it easy...