Re: Re: Re: HTML question
Re: Re: Re: HTML question
Crawdaddy79 said:
Because of what you said I went ahead and downloaded both the latest official and beta releases of Mozilla...
Still the same result... Since you may be mistaken about the pictures being fine, I went ahead and made little screenshots...
With Mozilla/Netscape/Phoenix:
http://home.earthlink.net/~crawdaddy79/armypage1.jpg
With Internet Explorer:
http://home.earthlink.net/~crawdaddy79/armypage2.jpg
Ok I see what you mean now. My mistake. Hmm Mozilla seems to be incorrectly calculating the width field after the first image. Maybe it's subtracting the previous images when it shouldn't. See if this happens if you use height=x%, or if it happens if the pictures are on different lines, or if they aren't centered.
edit: problem solved in Mozilla. Use a table, and set the width of each picture to 100% of the cell. Didn't check for IE compatibility. I'm trying to avoid loading that piece ......
edit2: adapt for personal use. check for compatibility with Konqurer and Opera (don't have)
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<title>test</title>
</head>
<body>
<script language="Javascript">
if(document.all || document.layers){
document.write('<font color="white" size="2" face="copperplate gothic light"><a href="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/carpenteropt.jpg" "target="_blank"><img src="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/carpenteropt.jpg" width="30%" border="0"></a> <a href="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/graydanceopt.jpg" target="_blank"><img src="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/graydanceopt.jpg" width="30%" border="0"></a> <a href="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/lytusopt.jpg" target="_blank"><img src=" http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/lytusopt.jpg" width="30%" border="0"></a></font><table cellpadding="5"><tr><td width="30%"><center><font color="white" size="2">Always smiling, this guy motivates troops by filling up ice water coolers with his saliva.</font></center></td><td width="30%"><center><font color="white" size="2">Partying like it\'s 1999!</font></center></td><td width="30%"><center><font color="white" size="2">Apparently some nerve agent got in this guy\'s suit...</font></center></td></tr></table>');
}
else {
document.write('<table cellpadding="0" cellspacing="0" border="0" style="text-align: left; width: 100%;"><tbody><tr><td style="vertical-align: top;"><font color="white" size="2" face="copperplate gothic light"><a href="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/carpenteropt.jpg" target="_blank"><img src="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/carpenteropt.jpg" style="border: 0px solid ; width: 100%;" title="" alt=""></a></font></td> <td style="vertical-align: top;"><font color="white" size="2" face="copperplate gothic light"><a href="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/graydanceopt.jpg" target="_blank"><img src="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/graydanceopt.jpg" style="width: 100%;" border="0"></a></font></td> <td style="vertical-align: top;"><font color="white" size="2" face="copperplate gothic light"><a href="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/lytusopt.jpg" target="_blank"><img src="http://www.angelfire.com/nc3/thecrawdaddypage/pics/Army/514th/lytusopt.jpg" style="width: 100%;" border="0"></a></font></td> </tr> <tr> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> <td style="vertical-align: top;"><br> </td> </tr> </tbody></table>"');
}
</script>
<br>
</body>
</html>