borders wont display in I.E.

liunx

Guest
im trying to make a simple page that has a black background, four pics with a white border. The page loads correctly in mozilla, netscape, ect but will not load correctly in internet explorer 6. the page in question is<br />
<br />
<!-- m --><a class="postlink" href="http://nielsen.phpwebhosting.com/josh2/try2.html">http://nielsen.phpwebhosting.com/josh2/try2.html</a><!-- m --><br />
<br />
i have looked everywhere and cannot find any reference to this error. any help is appreciated<!--content-->try this with each picture:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/"fronpic1.jpg" align="top" hspace="10" vspace="5" style="border: solid 1px #FFFFFF;"><!--content-->you have some html errors galore.<br />
<br />
<html><br />
<br />
<body text=#FFFAFA bgColor=-#000000><br />
<br />
tha tis all messed up, you don't have any head tags and you have to have those. add a doctype and take care of that bgcolor.<br />
<br />
also hspace and vspace are deprecated and shouldn't be used. same with font tags.<!--content-->thanks for the help i making changes now. can anyone tell me why mozilla displays it correctly and I.E. does not?<!--content-->fixed those errors and we will see<!--content-->Originally posted by someguy <br />
thanks for the help i making changes now. can anyone tell me why mozilla displays it correctly and I.E. does not? <br />
<br />
if you use:<br />
<br />
<img src=http://www.htmlforums.com/archive/index.php/frog.gif border=1><br />
<br />
The color of the border is black in IE. There is no way to change that except use CSS like I showed you previously. But it seems that Netscape and Mozilla are picking up the color of the text you have in the body tag:<br />
<br />
<body text=#FFFAFA bgColor=-#000000><br />
<br />
and applying that color to the border of the images. Change the color to red:<br />
<br />
<body text=red bgColor=#000000><br />
<br />
and you will see what I mean. I am not sure if that is considered a bug in Netscape and Mozilla or not.<!--content-->Just a note, border colors will render as the same color as the link color within the image tag. They were designed to be that way. I guess the next best thing was the body text color declaration in this case.<!--content-->awesome thanks for the help<!--content-->
 
Back
Top