I'm searching for an alternative to migrate my CSS - already working on FF and Chrome -, because QtWebKit it's not rendering some CSS3 feature yeat.
I have the following stuff:
.fit {
width: -moz-calc(100% - 10px);
width: -webkit-calc(100% - 10px);
width: -o-calc(100% - 10px);
width: calc(100% - 10px);
}
I want a class to fit all element as displayed in wireframe example.
Note: Almost all CSS3 features can be perfect rendered, but as sayed before *-calc()
have issues and can't find other solution eg. using margin-right
, padding-right
etc.
@EDIT: I created a fiddle http://jsfiddle.net/dj3hh/ to show the expected behavior - You can resize fiddle and all margins respect 10px
from right. I want a new way to do this withou calc()