Thursday, 19 November 2015

To prevent document mode quirks

To prevent quirks mode, define a 'doctype' like :

Make sure you use the right doctype.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

or just

<!doctype html>

Make sure you take into account that adding this tag,

<meta http-equiv="X-UA-Compatible" content="IE=Edge">





No comments:

Post a Comment