Oops, maybe it isn't a false alarm. Consider this:
<table style="width:100%; height:100%;" cellpadding="5"
cellspacing="0" align="center">
<tr>
<td width="25%" align="center">Prev</td>
<td width="25%" align="center">Next</td>
<td width="25%" align="center">Up</td>
<td width="25%" align="center">Home</td>
</tr>
</table>
{| style="width:100%; height:100%;" cellpadding="5"
cellspacing="0"
align="center"
| width="25%" align="center" | Prev
| width="25%" align="center" | Next
| width="25%" align="center" | Up
| width="25%" align="center" | Home
|}
The first table renders correctly. The second one puts the align="center" on a
separate line as text. The line is short enough so that I can put all the
parameters on a single line, but the behavior seems wrong.
Mike
mvanier wrote:
Huh, it seemed like it didn't work when I tried it
before, but now it does work.
OK, false alarm; I probably screwed up the table syntax in some other way.
Thanks,
Mike
Brion Vibber wrote:
mvanier wrote:
I'm having a problem writing a table with a
lot of parameters. Apparently
wikitext requires that all parameters be on the same line, but I can't write
them that way because the editor wraps the text to the next line. Of course, I
can write the tables in raw XHTML, but this seems like something there should be
a fix for. Any suggestions?
Just let them wrap, that's not a problem.
-- brion vibber (brion @
pobox.com)
------------------------------------------------------------------------
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l