html - fix for a gap in IE for an image -


i have read answers posted issue , tried them all, still have gap. see link site working on http://www.poolboy.ca/. it's gap between top of pool , menu bar. please help!

there's easy fix here.

your doctype (first line) this:

<!doctype html public "-//w3c//dtd html 4.01 transitional//en"> 

that doctype triggers quirks mode in ie.

if change doctype this:

<!doctype html public "-//w3c//dtd html 4.01//en" "http://www.w3.org/tr/html4/strict.dtd"> 

ie in standards mode instead, , gap magically disappear.

you instead use html5 doctype, shorter:

<!doctype html> 

Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -