The Ferrett wrote:

> I did this by wrapping the elements in a <div> (with an assigned
> width) and then by assigning a left margin calculated to push the div
> out into the center of the column.  This works in every browser but,
> you guessed it, IE. Problem is, in IE 7 that margin appears to be not
> quite doubled, but definitely added to:
> 
> http://www.starcitygames.com/SCG_6/test_article_page_with_vote.html

Make it...

#rating_control {
        border: 1px dotted blue;
        overflow: hidden;
        width: 105px;
        margin: 0 auto;
}

...and it will center in all browsers - including all IE versions.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to