Quote:
Originally Posted by Boofo
I want to add a break at the top of a post only if someone has started their message and then adds a quote later in the post. But if they list the quote first or don't do a quote anywhere in the message, I don't want a break at the beginning of the message. How can this be done?
|
What you wanna have is a space one line high preceding a Quote ? (not necessarily a <br /> break ?
How about a CSS solution ... a little hard-code goes a long way ...
A couple of options include assigning a class="breakabove" to the Quote element (whatever that is) or if it has a class already, then you will need to hack the BBCODE for Quote to add the CSS you need ...
In either case, the CSS is:
for the class solution
Code:
.breakabove { margin-top: 1em; }
and for the inline solution
Code:
style="margin-top: 1em;"
needs to be added to the HTML rendering of the QUOTE element ...
Any questions, just ask