I have run into a problem with IE6 (surprise!) when floating a <dl> to the
right of content that is not contained in a <p> tag. On the first line of
the content, there is a 10 pixel indent that isn't meant to be there. The
code works fine in Firefox.

Example code:
<dl style="float: right; margin: 0 0 0.8em 0.8em;">
        <dt><img /></dt>
        <dd>Caption goes here</dd>
</dl>
Some content goes here that isn't contained in a <p> tag...


I realise that it is incorrect to include content without a <p> tag, but a
CMS we are currently working with is forcing us to make allowances for this
situation.

Does anybody know what is causing this? Is it a known bug in IE and is there
a solution? 

An example of the problem I am having:
http://www.damienhill.com/tests/floats/


Thanks,
Damien Hill




******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to