text-align css attribute

2 messages Options
Embed this post
Permalink
JC Lagache

text-align css attribute

Reply Threaded More More options
Print post
Permalink
In the layout 1 col css, text in the main block is centered.
div#main {
        text-align: center;
}
But this style also centers <table> in Internet Explorer.
Test this page in IE and Firefox.
This was a problem for me to display a t:tree2 in IE, so i deleted the text-align attribute in my css.
Is there a cleaner solution ?
Matt Raible-3

Re: text-align css attribute

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Your solution sounds like a pretty clean one to me. I wouldn't be afraid to adjust the CSS for your needs.

Matt

On Dec 7, 2007, at 3:25 PM, jclagache wrote:

In the layout 1 col css, text in the main block is centered.
div#main {
        text-align: center;
}
But this style also centers <table> in Internet Explorer.
Test this page in IE and Firefox.
This was a problem for me to display a t:tree2 in IE, so i deleted the text-align attribute in my css.
Is there a cleaner solution ?

View this message in context: text-align css attribute
Sent from the AppFuse CSS mailing list archive at Nabble.com.