Reputation: 12674
I have a div (Facebook comments plugin, for what it's worth) styled with only the following CSS.
div.fb-comments
{
margin-left:30%;
margin-right:30%;
}
On Chrome, this puts the <div>
in the center of the screen. However, on Firefox, it remains at the left. Why might this be?
Upvotes: 2
Views: 3703
Reputation: 12674
As suggested by YoannM, I defined a width for this element and it solved the problem. Thanks!
Upvotes: 1