Basically, the code below should be just a white page with a shadow around the edge. This works fine in Chrome, but I can't get it to work in Firefox!
<html> <head> <style type=text/css> body { background:#ffffff; font-family:arial; margin:auto; box-shadow:inset 0px 0px 100px #333333; -moz-box-shadow:inset 0px 0px 100px #333333; -webkit-box-shadow:inset 0px 0px 100px #333333; } </style> </head> <body> </body> </html>
Check out the page here:
http://pastehtml.com/view/bagevr6ke.html
Look at it in Chrome, then on Firefox, and tell me if you see the difference :)
Greetings
EDIT: So, the post below explains how to fix the above code, CSS reset worked, and also I learned about quirk mode and dotypes :)
However, the CSS page I am working on still suffers from this error no matter what I use reset. I am not currently using Doctype as I am not sure what I should deliver, or this will fix the error.
Here is the full site:
http://middle.dyndns-server.com/results.html
And the stylesheet:
body { background:url('bg.png'); font-family:arial; margin:auto; box-shadow:inset 0px 0px 100px
I am sure that this is not all excellent, but I am studying, and this problem is now my main task :)
Many thanks.
source share