View Full Version : Firefox and IE Alignment

02-06-2007, 09:15 AM

when I look at the below menu in firefox the alignment between the image and the link looks perfect. However it shows as being out of line in IE6. Please can someon advise how to fix this.


echo "<img src=\"../images/teamicon.gif\" align=\"middle\"><a href=\"$teamlink\" align=\"middle\" target=\"iframe\">$team </a>";

Thanks, Martin

02-06-2007, 12:04 PM
Hi Martin, you need to get a valid HTML document first. Body tags are essential and can never be omitted.

If you don't have a validator locally, you can use W3C's http://validator.w3.org/

When the page structure is fixed, look into CSS for styling.