Hi, I'm using Drupal 6.1 and have the following problem.

This page: http://www.zoosite.nl/site/
Has 2 images in it, both in blocks. In firefox, everything works perfectly, but in IE they disappear completely. How can this be.

Logging in or out doesn't make any difference.

Comments

Davinia’s picture

when the thing is in a node, instead of a block. Then it IS working in both browsers

Strongly considering to throw 6.1 in the wastepaper basket and return to 5.5
This version is giving me a headache! (most of the modules I had running on 5.5 (like image and CCK) aren't available yet... so I can't even make a simple image-gallery :S

yelvington’s picture

Your problem is bad HTML, not Drupal versions.

   <div class="blockcontent"><p><a href="http://www.zoosite.nl/site/user"<img src="http://www.zoosite.nl/site/sites/default/files/filmstrip.jpg" align="center"></a></p>

and

 <div class="defaultblock">
    <h2>EuroZoo member</h2><!--block title-->
   <div class="blockcontent"><p><a href="http://www.eurozoos.org"<img src="http://www.zoosite.nl/site/sites/default/files/euro_zoo_logo_4_150w.jpg"></a></p>
</div>

In neither example did you properly close the "a" tag.

Davinia’s picture

I've cut and pasted this piece right out of dreamweaver.
If it was bad HTML than Firefox wouldn't show it either, but it does. So why is that?

LiquidWeb’s picture

No tags are not closed

<a href="http://www.zoosite.nl/site/user"<img src="http://www.zoosite.nl/site/sites/default/files/filmstrip.jpg" align="center"></a>

if you look carefully you will see begining of anchor tag is not closed.

Davinia’s picture

Thanks... that is information I can work with!

Closed the tag and it's working now in BOTH Internet explorer and Firefox. But it still puzzels me that firefox didn't have any trouble with the broken tag.

BTW the drupal versions remark was because of the missing modules... not this piece of html trouble

LiquidWeb’s picture

Its about the diffrence of rendering I suggest to use HTML validator module with firefox to write XHTML valid code.

By the way both CCK and Image modules are ported to Drupal 6 but they are not stable releases

Davinia’s picture

I saw that they were being ported, but I'll wait for the stable release. Have had my share of problems with unstable releases.....