box-sizing-polyfill icon indicating copy to clipboard operation
box-sizing-polyfill copied to clipboard

Auto margins

Open jameslindeman opened this issue 13 years ago • 7 comments

Hello, thanks for this! It seems to be working, apart from it seems to cancel out margin:0 auto;

Do you know of any issues with that?

Thanks

jameslindeman avatar Feb 24 '12 10:02 jameslindeman

That could very well be. Will look into it!

Schepp avatar Feb 24 '12 10:02 Schepp

Okay this actually appears to be some kind of conflict with http://code.google.com/p/css3-mediaqueries-js/

If I remove that everything looks as it should.

jameslindeman avatar Feb 24 '12 12:02 jameslindeman

Also, with both of those things together, if I resize the window, everything snaps into place too.

jameslindeman avatar Feb 24 '12 12:02 jameslindeman

@jameslindeman: does it work (without the css3-mediaqueries-js) when you resize the window...in an actual project I think box-sizing doesn't work anymore when the window is resized...is this an actual issue or dependent on the code, really not sure?

exside avatar Mar 20 '12 23:03 exside

@lluuuk For me, yes resizing the window seemed to stop the conflict with css3-mediaqueries-js and everything looked as it should with box-sizing working. I used a work around in the end and didn’t get to the bottom of it. Do let me know if you find anything.

jameslindeman avatar Mar 21 '12 10:03 jameslindeman

Can you send me information on how to reproduce this?

Schepp avatar Apr 11 '12 19:04 Schepp

Hi, sorry I missed this one. Unfortunately not, I haven’t run into the same problem since.

jameslindeman avatar May 28 '12 10:05 jameslindeman