blog.co.uk - made by you

You are here:
  • My blog.co.uk

Help Blogs :: Help

Stylin' in CSS

Wanted to know if there was anyway I could implement anything like this:

<blockquote style="margin-left: 2em; text-indent: -2em">Text that I want to display with groovy hanging indent<br />
As if it were a poem perhaps<br />
Or something like that.</blockquote>
Currently all I get is a message saying I can't use the style attribute with the blockquote tag (or the span tag either, which rather defeats the purpose of allowing a span tag at all!). Any responses?

Comments: Show all comments

alasdairgfalasdairgf [Member]
2005-10-20 @ 21:35

OK, I can see why that's necessary. Sometimes I live in an idealistic world that means I don't consider what the *ssholes might do!

Obviously I know nothing about how you handle the parsing of the XHTML that your members enter in their posts, but surely it's possible to spot a URL in a style attribute or block and then just remove the offending attribute? Just a thought. Thanks for responding so fast in any case.

Leave a reply to the above comment :

Your email address will not be displayed on this site.
Your URL will be displayed.
Allowed XHTML tags: <!, p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, a, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small, img>
URLs, email, AIM and ICQs will be converted automatically.
Options:
 
(Line breaks become <br />)
(Set cookies for name, email & url)
Validation code:
Please enter the above code here:
For protection from spambots (case-sensitive).