Joel 0

I wouldn't think so.

<!doctype html>
<html lang=en>

shifts the entire page down compared to just

<html lang=en>

when my css declares

* { margin: 0; padding: 0; }

I use the WebKit nightlies on Snow Leopard.

1 answer

3
points

If you do not declare a doctype, your browser will go into quirks mode and render things differently.

Consider this.

Answered about 8 years ago by Abinadi Ayerdis
  • Didnt think of that. Probably explains it. Thanks :) Joel about 8 years ago