CSS boxes

 
// Reply
[DJW:]  Yes, but note that strict version of HTML force an
explicit block level element. 

Hello again

What exactly do you mean by excplicit block level element, do you mean that

<body>
Some text<b>some more text</b>
<p>Some para</p>
</body>

is not valid strict HTML ??

// Original post
Hello,

I'm trying to write an HTML renderer and I have a question:

the CSS specs say that in

<body>
Some text
<p>Some para</p>
</body>

since the body contains at least one block element, it only creates children
blocks, so an anynomous block is created for Some text.

In a case like this:

<body>
Some text<b>some more text</b>
<p>Some para</p>
</body>

Should I create an anynomous block for "Some text<b>some more text</b>"

thanks,

Received on Friday, 10 August 2001 10:15:01 UTC