* Aaron Gray wrote:
>I have two tables in <spans> I want side by side, okay in IE but in
>Mozilla I need to use "display: -moz-inline-box;" this does not work
>in Opera  which requires "display: inline-block".

BTW I am using JavaScript DOM to construct the whole thing.


>Note that in HTML nesting <table> inside <span> is not allowed. As for
>this particular problem, you should be able to use
>
>  display: -moz-inline-box;
>  display: inline-block;

I am using a "isGeko" variable and ?: to select the right display setting.
This seems to be working fine on Modern browsers.

>Assuming that Mozilla does not support display:inline-block, it will
>ignore the declaration and use the previous declaration instead. The
>same goes for Opera the other way round. You might also be looking
>for display:inline-table. Besides, putting two tables next to each
>other should be a lot simpler than what you describe.

"display: inline-table" did not work on two tables in a div, on any 
browsers.

Thanks,

Aaron



______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to