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
Post a Comment