Posted by Andrew on 01/09/07 10:32
On Tue, 09 Jan 2007 11:55:35 +0200, Jukka K. Korpela wrote:
> Scripsit Neredbojias:
>
>>> I am currently adding captions to images in a large site and made
>>> the mistake of trying to place a <div> element inside a <p> element
>>> and consequently failed validation using XHTML Strict 1.0.
>>
>> Did you revalidate it after changing the div styles to display:inline?
>
> That would be pointless, since adding a _CSS_ rule cannot possibly affect
> the validity of _markup_ (HTML).
The CSS for the captioned images that I am using actually came from your
site:
http://www.cs.tut.fi/~jkorpela/www/captions.html
Of course the error with the placement of the <div>s was my own
contribution :-)
Andrew
--
The STRONG Family Web Site
http://www.strong-family.org
Navigation:
[Reply to this message]
|