|
Posted by Andrew on 01/09/07 10:38
On Mon, 08 Jan 2007 23:42:09 -0500, Neredbojias wrote:
> To further the education of mankind, Andrew <andrew@lnospamsorry.com>
> vouchsafed:
>
>> Hi,
>>
>> 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?
> - Just curious.
>
snip >>>>>>>
After I moved the position of the <div> it certainly validated. Do you
mean the inline style I have used for width of the div? :
<div class="captionL" style="width:211px;">image details here </div>
Yes, this validated.
Thanks for your trouble,
Andrew
--
The STRONG Family Web Site
http://www.strong-family.org
Navigation:
[Reply to this message]
|