On Oct 29, 12:28 pm, ricardobeat <[EMAIL PROTECTED]> wrote:
> hehe. It's easy once you get to know the intrincacies between CSS and
> XHTML.

LOL!  Maybe someday.

> in your code I see two problems:
>
> 1. style="float:right; color=green;"
>
> that causes a parsing error, should be style="float:right,color:green"

Sorry, typo.

>
> You can't self close a DIV, even if it's empty. The XHTML specs allow
> it, but browser currently can't handle it:
> (found athttp://www.w3.org/TR/xhtml1/#C_3)
> Given an empty instance of an element whose content model is not EMPTY
> (for example, an empty title or paragraph) do not use the minimized
> form (e.g. use <p> </p> and not <p />).
>
> The only elements with an EMPTY content model are <link />, <meta />,
> <input />, <br />, <hr /> and <img />

Thanks Ricardo. I learned a lot from you guys today.

Reply via email to