Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I know there is a CSS fallback for calc() for IE6-7. Likewise, I know there is a jQuery alternative.

However, is there a CSS-only fallback for calc() for IE8? If so, what is it?

share|improve this question
2  
No. there is not. You could anyway work it out using js expressions. – Kees Sonnema Jun 14 at 12:34
2  
Pure CSS? Nope. – Guilherme Oderdenge Jun 14 at 12:36
The only CSS fallback is to set a fixed width/height before the calc() – koningdavid Jun 14 at 12:38
You would need to modify HTML, adding one extra (neutral container to increase or decrease value (positive or negative margin for instance), for other situation i don't think of, i have no idea. – GCyrillus Jun 14 at 12:45
@GCyrillus, in other words, no, there isn't a CSS-only solution. ;) – Derek Henderson Jun 14 at 12:47
show 4 more commentsadd comment (requires an account with 50 reputation)

1 Answer

up vote 1 down vote accepted

There is no support dynamic properties above IE 8

Dynamic properties (also called "CSS expressions") are no longer supported in Internet Explorer 8 and later, in IE8 Standards mode and higher.

Source: Read this

share|improve this answer
Yep, thanks. Already read that link, as it was included in the comments to the first post I referenced in the question. This is why I was asking if there was a fallback that worked in IE8. – Derek Henderson Jun 14 at 12:41
@DerekHenderson, OK, if you dont like it. – Starx Jun 14 at 15:38
add comment (requires an account with 50 reputation)

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.