Re: [css-d] Centering a floating list.

2007-05-25 Thread Jon Hughes
I'm not sure if we still have a misunderstanding or if you pasted the wrong code, but that didn't work :) Basically, the numbers should be centered to the "|" which is in "Center | Center" Right now, it's shifted way over to the left, in FF and IE7. -Original Message- From: Melianor [ma

Re: [css-d] Centering a floating list.

2007-05-25 Thread Melianor
Hi, sorry i see now what you are trying to do, by wanting to center the list itself as well. http://www.w3.org/TR/html4/loose.dtd";> Untitled Document .mpl { float:left; display: block; text-align:center; font-size:0.9em; padding-right:1em; } .mpl strong { font-size:1.3em; display:block; } .la

Re: [css-d] Centering a floating list.

2007-05-24 Thread Jon Hughes
Jens, Thank you for your reply, but it didn't seem to do the trick. With your code (as is) the list wasn't "inline" (it went down the page, instead of staying on the same line) which is what I need. I added the class "mpl" back to the li's in your case, and it didn't center. Thanks, - Jon __

Re: [css-d] Centering a floating list.

2007-05-23 Thread Melianor
Hi John, This will not work that way. Your approach is correct in some ways, but no in others. This should be working code, working on IE 7 downwards, Opera, FF, Safari,