Forum Moderators: open
I started a page like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> thinking it would trigger standards compliance mode, but I'm having some weird problems.
Thanks,
Adam
javascript:(function(){var mode=document.compatMode,m;if(mode){if(mode=='BackCompat')m='Quirks';else if(mode=='CSS1Compat')m='Standards Compliance';else m='Almost Standards Compliance';alert('The document is being rendered in '+m+' Mode.');}})();
Jordan
Jobarr, will removing the xml declaration mess anything else up? I thought it was needed for validation.
The problems are just differences in positioning between opera/mozilla and ie6.
Thanks,
Adam
Jordan