firefox issue - div and span error - a bug?

  •  08-18-2008, 1:55 PM

    firefox issue - div and span error - a bug?

    My client called me a while ago, telling that her site was looking odd with firefox. When I went to see it, I saw that part of the text she had written there did not keep inside box it was intended. When I looked at sourcecode, i realized that there was mistake with span and div taks - they closed in different order than they opened. When I corrected it by hand it was ok again. However since this was code generated by CuteEditor, I thought to write about it here. 
     
    A copy paste of code where it happened, look at the red parts:
     
    <div><span style="font-size: 8pt">Olen&nbsp;<a href="http://www.ababab.fi/kokoblogi.php?id=3">tästä</a> genrestä blogitellut aiemminkin. <br />
    <br />
    Mutta kun <strong>tuli taas tehtyä huomioita</strong> niin ei voi mitään. <em>Taas tulee.</em> En pysty pidättämään, vaikka kuinka pinnistäisin...<br />
    </div></span>
     
    This was the issue in 2 different parts of the text..
     
View Complete Thread