modified: content/2011-10-11-css-frameworks-not-rendering-properly-on-all-browsers.rst
This commit is contained in:
parent
6d7fc0e47a
commit
c9cc23cfa4
1 changed files with 3 additions and 20 deletions
|
|
@ -19,27 +19,10 @@ rendering markup.
|
|||
The following code block displays the minimal approach to setting the
|
||||
document type:
|
||||
|
||||
.. raw:: html
|
||||
.. code-block:: html
|
||||
|
||||
<p>
|
||||
<!DOCTYPE html>
|
||||
|
||||
|
|
||||
|
||||
|
|
||||
|
|
||||
|
||||
.. raw:: html
|
||||
|
||||
</p>
|
||||
<p>
|
||||
|
||||
After placing the doctype above the
|
||||
|
||||
tag the pages render properly because we forced the browser into
|
||||
standards mode.
|
||||
|
||||
.. raw:: html
|
||||
|
||||
</p>
|
||||
This doctype tag forces the broswer into standards mode which allows the pages to render properly.
|
||||
|
||||
Thanks!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue