Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: mattr2 - helmikuu 18, 2005, 03:17:54 AP

Otsikko: Need advise on posting HTML / Tables
Kirjoitti: mattr2 - helmikuu 18, 2005, 03:17:54 AP
What is the best way to get a post in HTML format to look acceptable in these baords?

I am starting a new notebook computer support board, and want to add content quickly.

I need to move several HTML pages to a format that is readable to the board.  I also have them in MSWord format.  From what I can tell, tables are a complete nightmare to work with.

Any ideas?

Matt
http://www.notebookdiscussions.com/
Otsikko: Re: Need advise on posting HTML / Tables
Kirjoitti: Oldiesmann - helmikuu 18, 2005, 11:32:44 AP
Actually, tables aren't a complete nightmare if you do them correctly, but it is a bit tricky because you can't use useful attributes like "colspan"...

The correct format for a table is something like this:

[table]
[tr][td]content[/td][td]more content[/td][/tr]
[tr][td]Row 2, column 1[/td][td]Row 2, column 2[/td][/tr]
[/table]


That produces the following:

contentmore content
Row 2, column 1Row 2, column 2

The only HTML tags you can use in SMF are <a href="blah">...</a>, <img src="blah" /> and the usual <b>...</b>, <i>...</i>, <u>...</u> and maybe a couple others...