3 Replies - 577 Views - Last Post: 24 January 2013 - 10:22 AM

HTML/CSS in a .NET markup with issues

Posted 24 January 2013 - 09:37 AM

Normally, I'm good with HTML/CSS - but this is has me stumped.

I was handed this project by someone who couldn't complete it - in order to move onto another project. I have this age verification landing page that a user hits before entering a site. There is this line of CSS/Code that makes no sense to me, but it almost works.

What happens is, I get a gap in the top of the page (about 10-12px tall). It doesn't look like anything is there, but if you highlight from left to right, the first line "@-moz-document url-prefix()" shows up. (I've attached screen shots)

If I remove it, Firefox's css just blows up. I've tried to do a Javascript browser detection, like this: