stubbornella / oocss

Object Oriented CSS Framework
http://stubbornella.org/
Other
6.23k stars 714 forks source link

Opera and grids #20

Closed ibrezac closed 14 years ago

ibrezac commented 14 years ago

Hi,

Grids do not appear to be working in Opera 10.x. It looks like display: table-cell does not work as expected. I have not been to come up with a work around.

Any ideas?

Thanks, -igor

levito commented 14 years ago

try adding overflow:hidden to .lastUnit:after - this worked for me.

stubbornella commented 14 years ago

ah ha. I had an older version of opera, which is perhaps why I wasn't seeing exactly the same display issues other people mentioned. Upgrading and fixing.

stubbornella commented 14 years ago

awesome, this fix totally worked. Very odd, but I'm pleased, since the overflow is only applied to generated content, it should not break anything. I hope. :) Pushed change 085dfa81daacbab8594362d1b59e1dd71e959cb8

majic3 commented 14 years ago

For me & in opera 10.10 on XP I get .main extending way beyond the page (I sent a screen sot of this to the google group)

However if I use content: "." in grids & template stylesheets everything seems fine

Golodhros commented 14 years ago

Hi there!

The fix didnt work for me. It seems that display:table-cell doesn't work in the template either, so I have had to add display:block instead, and a fixed with to my containers.

Great work, by the way!

levito commented 14 years ago

Yes, this fix was not the right solution. Don's set display:block - there are reasons for using display:table-cell. Have a look at my comment here: http://github.com/stubbornella/oocss/issues#issue/22/comment/119128 Replace the ". . " by "x x " and it will work again for recent Opera versions. You might want to use my fork - it also includes flexible forms and buttons.

Golodhros commented 14 years ago

Perfect! It works pretty smart.

Thanks