Since the forum update there has been limited possibilities to use html in posts. I found a configuration option that allows certain html tags to be used, so I set it to allow:
<center>b,i,u,pre,center,img,a,font,p,br,div,table,td,tr</center>
I tried the center tag and it now works (is the above line centered?). If somebody is tempted to try other features, then feel free to play around in this thread, so that we can all learn what works and what doesn't. I thought it was really nice that some pretty advanced formatting was allowed before and I'd like it to be re-instated if we can.
Using html in posts
Moderator: Jani Soderhall
-
- ISSA President 2011-2024
- Posts: 4645
- Joined: Thu Aug 22, 2002 2:00 am
- Location: Sweden, lives in France
- Contact:
-
- Posts: 15
- Joined: Mon Mar 31, 2003 2:00 am
- Location: Laguna Hills, CA
- Contact:
Re: Using html in posts
Okay, let's try:<p>A new paragraph<br><i>Some italics</i>, followed by a <b>bold</b> break.<br><u>Some underlined text</u> immediately after the break.</p>Jani Soderhall wrote: ...
If somebody is tempted to try other features, then feel free to play around in this thread, so that we can all learn what works and what doesn't.
...
<center>
<table width='50%' bgcolor='red'>
<tr>
<td>A red table stuck in the middle of the page</td>
</tr>
</table>
</center>
<table bgcolor='white' cellpadding='3'>
<tr>
<td width='30%' bgcolor='beige'><font size='1'>This tiny font brought to you by the font tag. On the right is some C# 2.0 source (love those iterators) from the new book</font>
</td>
<td bgcolor=#ffcc00>
<pre>
class Racers: IEnumerable<string>
{
string [] _grid = {"Mickey", "Richy", "Tiger"};
public IEnumerator<string> GetEnumerator()
{
foreach(string racer in _grid)
yield racer;
}
}
</pre>
</td>
</table>
Odd things:
End of text input line is the same as a break, so end of line + a break tag is actually two breaks.
The more modern <br/> syntax for breaks doesn't work.
BTW, the font tag is deprecated, and tables are <b><i>so</i></b> fifteen minutes ago.
Other than that, I predict a series of completely unreadable posts from me as I show off my lack of aptitude in the presentation layer.
-
- ISSA President 2011-2024
- Posts: 4645
- Joined: Thu Aug 22, 2002 2:00 am
- Location: Sweden, lives in France
- Contact:
Mickey,
I tried to add <br/> to the list but it didn't make any difference, so it seems we have to live without it.
As for the rest I think that was quite a positive test, although it is not perfect.
I think we'll leave it at that for the moment. I could research it more in the future, but I haven't got all the time I would need to do everything I want to do.
/Jani
I tried to add <br/> to the list but it didn't make any difference, so it seems we have to live without it.
As for the rest I think that was quite a positive test, although it is not perfect.
I think we'll leave it at that for the moment. I could research it more in the future, but I haven't got all the time I would need to do everything I want to do.
/Jani
-
- Pavel Racing Team
- Posts: 230
- Joined: Fri May 02, 2003 2:00 am
-
- Airflow - Skateboards
- Posts: 1485
- Joined: Fri Sep 26, 2003 2:00 am
- Location: Zurich, Switzerland
- Contact: