IE7 text-align not working

I have a simple horizontal UL LI main interface that I'm trying to center the page. Text-align, which works in other browsers, works, but it does not work in IE7.

Is there something that I am missing in this error in IE7?

Thanks!

+6
css internet-explorer-7 internet-explorer-6 text-align
source share
2 answers

His error is IE7:

so look at this post where in art he discusses the error and the solution to this error: http://haslayout.net/css/Text-Align-Bug

Also check out this post: http://css-discuss.incutio.com/wiki/Centering_Block_Element

+4
source share

It seems if I add conditional CSS for IE7 and say:

.RadNav .RadMenu ul.rmRootGroup { display:inline;} 

Instead

 .RadNav .RadMenu ul.rmRootGroup { display:inline-block;} 

He works.

I would appreciate some thoughts on this, as I would like to not use conditional css.

Thanks!

0
source share

All Articles