Thanks Wayne, that was what I wanted to know, where to put the attributes.
Looking forwards to the new editor! I will be out of a job for my "tricks up
my sleeve" will be made redundant!

 

David

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Wayne Mackintosh
Sent: Monday, 25 January 2010 10:00 a.m.
To: [email protected]
Subject: Re: [WikiEducator] Tables cell aliagnment

 

Hi David,

Within the next fortnight we'll be implementing the WYSIWYG editor on WE. So
in the near future you won't need to mess around with wiki syntax for tables
:-).  

However, if you're in a hurry you can add XHTML attributes to Mediawiki
tables - 

See: http://www.mediawiki.org/wiki/Help:Tables


Assume this simple 2-cell table:

{| class=prettytable
|-
| Cell 1
| Cell 2
|-
|}

You can, for instance specify the background color, alignment and width of
Cell 1 as follows:

{| class="wikitable"
|-
| width="60%" bgcolor="#ffffcc" align="left" | Cell 1
| Cell 2
|-
|}

(Note the insertion of the additional pipe "|" after the attributes for Cell
1. )

Cheers
Wayne






 




2010/1/24 David Leeming <[email protected]
<mailto:[email protected]> >

Hi, a techie question

 

I have been using Open Office to create tables and export as MediaWiki code
to the Wikieducator. I would like to know how to force cell alignment (i.e.
top, left justified). Appreciate any advice.

 

David Leeming, Solomon Islands

 

 

-- 
You received this message because you are subscribed to the Google
Groups "WikiEducator" group.
To visit wikieducator: http://www.wikieducator.org
To visit the discussion forum: http://groups.google.com/group/wikieducator
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]




-- 
Wayne Mackintosh, Ph.D.
Director,
International Centre for Open Education,
Otago Polytechnic, New Zealand.
Board of Directors, OER Foundation.
Founder and Community Council Member, Wikieducator, www.wikieducator.org 
Mobile +64 21 2436 380
User Page: http://wikieducator..org/User:Mackiwg
<http://wikieducator.org/User:Mackiwg> 
Skype: WGMNZ1
Twitter: OERFoundation, Mackiwg 

-- 
You received this message because you are subscribed to the Google
Groups "WikiEducator" group.
To visit wikieducator: http://www.wikieducator.org
To visit the discussion forum: http://groups.google.com/group/wikieducator
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "WikiEducator" group.
To visit wikieducator: http://www.wikieducator.org
To visit the discussion forum: http://groups.google.com/group/wikieducator
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to