Using html in posts

Organization and Administration

Moderator: Jani Soderhall

Post Reply
Jani Soderhall
ISSA President 2011-2024
ISSA President 2011-2024
Posts: 4634
Joined: Thu Aug 22, 2002 2:00 am
Location: Sweden, lives in France
Contact:

Using html in posts

Post by Jani Soderhall » Thu Nov 20, 2003 4:38 pm

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.

Mickey Williams
Posts: 15
Joined: Mon Mar 31, 2003 2:00 am
Location: Laguna Hills, CA
Contact:

Re: Using html in posts

Post by Mickey Williams » Fri Nov 21, 2003 10:15 pm

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.
...
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>
<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.

Jani Soderhall
ISSA President 2011-2024
ISSA President 2011-2024
Posts: 4634
Joined: Thu Aug 22, 2002 2:00 am
Location: Sweden, lives in France
Contact:

Post by Jani Soderhall » Sat Nov 22, 2003 12:39 pm

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

Paul Price
Pavel Racing Team
Pavel Racing Team
Posts: 230
Joined: Fri May 02, 2003 2:00 am

Post by Paul Price » Tue May 10, 2005 2:54 pm

how hard can it be to include a photo


Image

not that hard!

Ramón Königshausen
Airflow - Skateboards
Airflow - Skateboards
Posts: 1485
Joined: Fri Sep 26, 2003 2:00 am
Location: Zurich, Switzerland
Contact:

Post by Ramón Königshausen » Tue May 10, 2005 4:52 pm

Image


no, not really! Boring school lession here...damn photoshop working!


rmn
Feel the flow – Airflow Skateboards

Real skateboard wheels come in green – ABEC11

Enjoy the ride – GOG Slalom & DH Trucks

Post Reply