PDA

View Full Version : Thread Prefixes: Remove Trailing Space and Style?


qcforcacct
09-23-2014, 02:27 AM
I recently set up thread prefixes and used an inline <style> tag to change the color of the text and background in the "rich text" field when creating the prefix. It seems vB automatically adds a space following the rich text input. This works fine when no background color is specified, but when there is a background color it also colors this trailing space which looks terrible. Any ideas on how to prevent vB from adding the trailing space or preventing it from applying the specified style to it?

Simon Lloyd
09-23-2014, 02:55 AM
Are you sure the style tag doesn't have any padding set ot that you haven't given the same styleid as one used in native vbulletin?

qcforcacct
09-23-2014, 03:14 AM
Simon, that is it. I set the margin attribute to zero in the span tag and it removed what I thought was a space. Thanks for the speedy reply!

Simon Lloyd
09-23-2014, 10:42 AM
Glad it was nothing more complicated :)