6

I have a simple horizontal UL LI main nav which I am trying to align to the center of the page. Text-align, which works in the other browsers is working but this does not work in IE7.

Is there something I am missing about this bug in IE7?

Thanks!

Kara
  • 6,115
  • 16
  • 50
  • 57
Sixfoot Studio
  • 2,951
  • 7
  • 26
  • 35

2 Answers2

4

Its bug is IE7 :

so look this post where in artile he discuss about the bug and solution for this bug : http://haslayout.net/css/Text-Align-Bug

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

Pranay Rana
  • 175,020
  • 35
  • 237
  • 263
0

Seems if I add a conditional CSS for IE7 and say:

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

Rather than:

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

It works.

I would appreciate some thoughts on this as I would love to not be able to use conditional css.

Thanks!

Sixfoot Studio
  • 2,951
  • 7
  • 26
  • 35