[pmwiki-users] how to align all of table to the left
J. Meijer
commentgg at hotmail.com
Thu Dec 28 16:48:15 CST 2006
Below my replay that didn't make it to the list.
Turns out I wasn't *all* wrong: the issue appears only with FireFox 2.
A table that appears left in Opera, using
||align=left
appears centered in firefox, number 2 is the only one I tested. With:
|| style="margin-left:0px;"
both browsers exhibit the same ("correct") behaviour.
I'll make a comment about this on pmwiki.org.
The issue has to do with the interpretation of the border-collapse property?
Thanks,
/jm
----------------------------------------
> From: commentgg at hotmail.com
> Date: Thu, 28 Dec 2006 22:25:35 +0000
>
>
>
> The align=left thing I found in the docs, first thing I'd tried, but it didn't work and I got frustrated.
>
> Testing again shows it does... so I don't get it. There seems to be no room for error! Oh well..
>
> The thing that put the table to the center in simple skin was:
>
> table { border-collapse: collapse; }
>
> Which is obvious only to the experienced. Never seen it before.
>
> Thanks Marc, Daniel, Patrick.
>
> /jm
>
>
> ----------------------------------------
> > Date: Thu, 28 Dec 2006 10:17:47 -0600
> >
> > Thus, to get a table to float left, one can use:
> >
> > ||align=left
> >
> > This produces <table align='left'>...</table> on any tables that
> > follow.
> >
> > To get a table to align left (but not "float left") requires CSS, as in
> >
> > ||style="margin-left:0px;"
> >
> > Pm
>
_________________________________________________________________
Type your favorite song. Get a customized station. Try MSN Radio powered by Pandora.
http://radio.msn.com
More information about the pmwiki-users
mailing list