Hi,
I am finding that the tide clock isn't displaying correctly in IE 9. It seems to be completely off centre. I just wonder how I could fix this as most of my visitors use IE. The code for the tide clock is also failing the validation check at W3C.
The errors I get are:
Line 870, Column 3: document type does not allow element "p" here
Line 870, Column 100: document type does not allow element "img" here; assuming missing "caption" start-tag
The code is:
$next_tide_time = date('H:i T', strtotime("+$mins_to_next_tide minutes"));
echo "<p>".time_till_tide($mins_to_next_tide * 60)." to $tide_type tide at $next_tide_time </p>";
$mins_to_next_tide_rounded = round_tide_time($mins_to_next_tide);
$tide_image = select_tide_image($mins_to_next_tide_rounded,$tide_type);
echo "<img src=\"tides/$tide_image\" width=\"250\" alt=\"\"></img><br />";
//echo $nexttidequarter;
?>
Any help would be appreciated.