In that you are using XHTML as your document type, you should learn to use CSS to control your elements instead of using width and height in your img tags since those really are not proper.
In your CSS: you could define a class like:
Code: Select all
.graphimg { width: 174px; height: 54px; }
then when you use HTML code to define your images you can use the class info.
Instead of:
Code: Select all
<img src="thermometer.php"
height="170" width="54"
alt="Current temperature, daily max/min"
title="Current temperature, daily max/min" />
Use:
Code: Select all
<img class="graphimg" src="thermometer.php"
alt="Current temperature, daily max/min"
title="Current temperature, daily max/min" />
Along with CSS being the proper way to do this when using the doc type you are using for your pages, it also makes making adjustments much much easier in the future. You can now change the size used for those images on the fly by simply making one edit to your CSS and they all will adjust.
So a change of:
Code: Select all
.graphimg { width: 150px; height: 50px; }
Would change what the browsers use for sizing for all the images that have that CSS tag referenced in them.