erm....I've been thinking of this all day, and I think I've found a concept that might work.
However, I need someone with HTML/CSS skills to help.....
Now, I use this function to translate [quote][/quote] to HTML code for in the DB.
fString = doCode(fString, "[quote]", "[/quote]", "<div align=""right"" id=""quote2""><table border=""1"" cellpadding=""5"" cellspacing=""0"" style=""border-collapse: collapse; border-left-width:0; border-right-width:0; border-top-width:0"" bordercolor=""DCDCDC"" width=""90%""><tr><td width=""100%"" style=""border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1""><font size=""1"" face=""Tahoma"" id=""quote"">quote:</font id=""quote""></td></tr><tr><td bgcolor=""F5F5F5"" width=""100%"" style=""border-left-color: ""DCDCDC""; border-left-width: 1; border-right-color: DCDCDC; border-right-width: 1""><font size=""1"" face=""Tahoma"" id=""quote"">", "</font id=""quote""></td></tr></table></div align=""right"" id=""quote2"">")
And, in inc_func_common.asp I reverse this process.
But...what if I'd to this:
Instead of replacing the quote-tags with the entire HTML code required, I only replace them with CSS tags for that.
So, a quote-DIV-tag:
<div align=""right"" id=""quote2"">
A quote-table-tag:
<table border=""1"" cellpadding=""5"" cellspacing=""0"" style=""border-collapse: collapse; border-left-width:0; border-right-width:0; border-top-width:0"" bordercolor=""DCDCDC"" width=""90%""><tr><td width=""100%"" style=""border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1""><font size=""1"" face=""Tahoma"" id=""quote"">quote:</font id=""quote""></td></tr><tr><td bgcolor=""F5F5F5"" width=""100%"" style=""border-left-color: ""DCDCDC""; border-left-width: 1; border-right-color: DCDCDC; border-right-width: 1"">
and a quotefont tag:
<font size=""1"" face=""Tahoma"" id=""quote"">"
All being closed afterwards (by replacing the /quote tag:
A end quotefont-tag:
</font id=""quote"">
A end-quote-table-tag:
</td></tr></table>
And a end-quote-DIV-tag:
</div align=""right"" id=""quote2"">
In that way, there's NO fontcolor/tablecolor etc stored in the db for thát post, so it won't be a problem to change any of them later on. The inc_func_posting.asp functions won't have any problem recognizing the quote-tags.
But...erm...I have virtually NO knowledge about how to pull this of in CSS...Anyone willing to help ?