On 12/22/05, Rob Church wrote:
Use the CSS float style, perhaps?
Thanks. I'm muddling my way through using div's for positioning.
How about this one part: Also, how do I get the contents of the second cell (Percent) to center?
{| border="1" cellpadding="2" |+Imager Purchased New or Used |- !New/Used!!Percent |- |New|| 49.3% |- |Used || 12.3% |}
Thanks Al Degutis
Use standard HTML attributes, including align and style. See http://meta.wikimedia.org/wiki/Help:Table
-- Zigger
On 23/12/05, Al Degutis wrote:
... Also, how do I get the contents of the second cell (Percent) to center?
{| border="1" cellpadding="2" |+Imager Purchased New or Used |- !New/Used!!Percent |- |New|| 49.3% |- |Used || 12.3% |} ...
Specifically:
|New|align="center"|49.3%
Rob Church
On 29/12/05, Zigger zigger@gmail.com wrote:
Use standard HTML attributes, including align and style. See http://meta.wikimedia.org/wiki/Help:Table
-- Zigger
On 23/12/05, Al Degutis wrote:
... Also, how do I get the contents of the second cell (Percent) to center?
{| border="1" cellpadding="2" |+Imager Purchased New or Used |- !New/Used!!Percent |- |New|| 49.3% |- |Used || 12.3% |} ...
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 12/29/05, Rob Church robchur@gmail.com wrote:
Specifically:
|New|align="center"|49.3%
There's also valign="center" if I'm not mistaken.
True. Depends upon how the original poster meant "centre" though, doesn't it? :)
Rob Church
On 30/12/05, Sy Ali sy1234@gmail.com wrote:
On 12/29/05, Rob Church robchur@gmail.com wrote:
Specifically:
|New|align="center"|49.3%
There's also valign="center" if I'm not mistaken. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|New|align="center"|49.3%
Maybe I'm daft, but I'm still not getting it to work.
Look at http://www.skyinsight.com/wiki/index.php/Astronomy_Survey_2005 and what I'm trying to do is center only the second column with the percentages, but it would also be okay it all cells were centered.
When I do
|align="center"|Meade || 25.2%
It only centers the first column. I tried:
||Meade|align="center"| 25.2%
but then it displays all of this in the first cell:
Meade |align="center"| 25.2%
and an empty second cell.
Confused, Al Degutis http://www.skyinsight.com/wiki
On 12/30/05, Al Degutis al.degutis@gmail.com wrote:
Confused,
I need to understand your problem better.
You are saying that you want the percentages horizontally centered within their individual cells?
So you mean..
Brand Percent Meade 25.2%
1) Where the string "25.2%" is centered within the "Percent" column? If so, that's as easy as: replacing 25.2% with <center>25.2%</center>
2) That is one way. The other way is to do something like this to center the entire right-hand column:
{| |- | top-left | align="center" | top-right |- | bottom-left | bottom-right |}
See how I've chosen different syntax for my table. I'm not used to your method,
3) You are doing: |align="center"|Meade || 25.2% but should instead be doing: |Meade || align="center" | 25.2% But that only works for one single cell. My method above (2) works for all cells in that column.
I need to understand your problem better. You are saying that you want the percentages horizontally centered within their individual cells?
Exactly.
That is one way. The other way is to do something like this to center the entire right-hand column:
{| |- | top-left | align="center" | top-right |- | bottom-left | bottom-right |}
You are doing: |align="center"|Meade || 25.2% but should instead be doing: |Meade || align="center" | 25.2% But that only works for one single cell. My method above (2) works for all cells in that column.
#2 looks like the solution I'm looking for. I'll give that a try.
Thanks! Al Degutis http://www.skyinsight.com/wiki
mediawiki-l@lists.wikimedia.org