PDA

View Full Version : Problems in Firefox with design



sehana
Sep 15th, 2009, 07:08 PM
viewing is fine in IE but not quite right in FF
width of the span is correct in IE but spans the whole width of the window in Firefox.
what am I doing wrong?

http://sehanafortress.com/_ie/=test01.html



<span style="color:#Ffffff; overflow:auto; border:solid 1px; outline:solid 1px; width:130px; text-transform:capitalize; " class="casestd1"><div class="enttitle04">v19_TESTMV</div>
<div><!a href="" title="Yahoo"><img src="http://sehanafortress.com/pix-covers/nocoveryet01.jpg" /></a></div>
<div class="enttitle16"><!a href="" title="IMDB">imdb</a> <!a href="" title="MovieTome">MTm</a> <!a href="" title="Amazon">amzn</a> <!a href="" title="Walmart">w*</a></div></span>

SB65
Sep 15th, 2009, 08:48 PM
You've got a lot of errors here (http://validator.w3.org/check?uri=http://sehanafortress.com/_IE/=test01.html) which may well be causing the problem. In particular you have divs nested within <span> tags which is invalid, and likely to cause unpredictable results. I'd suggest working through these first.

As a general rule if it looks OK in IE but wrong in FF, then there's probably a problem with the code. It's better to code for FF, then have a look at IE and see what needs fixing/amending.