Tue 3 Apr 2007
Firefox 2 demands correctness
Posted by admin under css , firefox , html , linux , software1 Comment
Was playing arround with CSS. Especially with dynamic style settings like :hover. I was naiv enough to use just a simple
<html><head> as a header for my experimental page. It made me wonder why Firefox 2 would not handle div:hover correctly, because Opera and Konquerer did. Finally changed the header to
<!DOCTYPE html PUBLIC “-//W3C//DTD XHMTL 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”>
… and now it works.
February 25th, 2008 at 3:03 pm
That’ll be because of quirks mode.
http://developer.mozilla.org/en/docs/Mozilla‘s_DOCTYPE_sniffing
The web developer toolbar will alert you to quirks mode being active.
https://addons.mozilla.org/en-US/firefox/addon/60