Actually it's not completely standards compliant. There's still a large list of bugs present in IE8 that are not in other browsers. A lot of them are even regressions from IE7, which is pretty pathetic. MS just never learns.
You should use the XHTML Strict DOCTYPE, you might try that. If not it's better to write XHTML anyways. :)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
If it doesn't work, then you can use text-align: center;
Like...
Yes, you should build your sql statements with prepared statements.
Take a look at the PHP sql objects, particularly the sql statement, it will allow you to execute sql queries the way they should be.
For CSS, IDs take priority over classes. So if you have something like:
a#someLink { color: red; }
a.someLink { color: blue; }
And then you had a link with <a href="#" class="someLink" id="someLink">Text</a>
The link would be red because the ID takes priority over the class. Sometimes...
Learned the basics in school, the rest on my own. What's more important than learning the language itself is learning good programming habits and how to organize and structure your code, as well as design patterns. A framework really helps development and forces you to use the best practices (if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.