zmoazeni/csscss

Don't know what to do with body:before

levibe opened this issue · 2 comments

csscss had trouble with an Opera fix for a sticky footer:

Had a problem parsing the css at line: 88, column: 1 Failed to match sequence (SPACE? blocks:((COMMENT / NESTED_RULESET / RULESET){1, }) SPACE?) at line 88 char 1. - Don't know what to do with "body:befor" at line 88 char 1.`

Here is the fix in question:

/*Opera Fix*/ body:before { content:""; height:100%; float:left; width:0; margin-top:-32767px;/ }

margin-top:-32767px;/

What happens when you remove the trailing slash off of this declaration? WIthout it, it works fine for me locally.

That worked. Didn't see the slash somehow. Thanks!