ah nevermind, i have removed the <pre> </pre> and it seems it formats and validates correct now..
Daniel Petre wrote: > hello, well, i am stuckd at a validation problem, actually a couple of > warnings. > > i have this wordpress blog and i added a code snippet plugin that allows > me to quote a code block with css, php,html, etc highlighting. > > but tonight i saw it wont validate against XHTML 1.0 Transitional with > the following warnings: > > line 57 column 1 - Warning: missing </pre> before <div> > > line 61 column 1 - Warning: inserting implicit <pre> > > line 57 column 1 - Warning: trimming empty <pre> > > you can see for yourself if you look at the source of: > > http://www.jurnalweb.info/22-08-2007/css/stilizarea-linkurilor-vizitate-deja/ > > and have the html validator plugin in firefox and search the source for > the errors.. > > id appreciate any advices.. thanks a lot! > > P.S. maybe i should paste here the exact code i see in problem: > > (line 57) <pre> > <div class="codesnip-container" > > <div class="codesnip">.the_cloud <span class="br0">{</span> <span > class="kw1">margin-left</span>: 12px; <span > class="kw1">margin-right</span>: 12px; <span class="br0">}</span> > .the_cloud a<span class="re2">:visited </span><span > class="br0">{</span> <span class="kw1">text-decoration</span>: > <span class="kw2">line-through</span>; <span class="br0">}</span></div> > > (line 61) </div> > </pre> > -- Daniel Petre, Consultant IT, S.C. Delfix Media S.R.L. http://www.delfix.ro ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
