Sent by "Choan_C._Gálvez" on 15 December 2005 12:12
Spike Spencer wrote:
> Is this a known bug? I've got a colleague who has a series of DIVs as
> follows:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <div class="main">
>
> <div class="aa">
> aa
> </div><!--aa close-->
>
> <div class="bb">
> bb
> </div><!--bb close-->
>
> [...]
>
> </div><!--wrap end-->
>
> </div><!--main container-->
>
> </body>
>
> </html>
>
> And this CSS:
> [...]
> .aa
> {
> width: 700px;
> height: 80px;
> background-color: red;
> float: left;
> }
>
> .bb
> {
> width: 80px;
> height: 720px;
> background-color: blue;
> float: right;
> }
> [...]
>
> Looking in IE6, it replicates the last two characters of the sentence in DIV
> class ee. Any ideas?
Yes. Remove the comments (or move them). This is what is causing the
duplicate chars.
--
Choan
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/