[jifty-devel] Rendering cleanups for XHTML 1.0 Strict compliance

Sean E. Millichamp sean at enertronllc.com
Thu Jun 22 16:44:50 EDT 2006


On Thu, 2006-06-22 at 15:13 -0400, Jesse Vincent wrote: 
> Can you explain the added divs and the change from spans to divs? This
> is going to affect the rendering of existing applications in a
> potentially painful way.

On Thu, 2006-06-22 at 15:33 -0400, Thomas Sibley wrote:
> Fixing up the attributes was a good thing, but I'm really wary about the 
> addition of all those divs.  The problem is that divs are block-level 
> elements whereas most of the elements you surrounded/replaced them with 
> are not.  Changing from inline to block-level elements will tend to 
> screw up layouts.

Every change I made was something that the W3C validator said wasn't
good XHTML 1.0 Strict and something that I could find a way to fix up
without causing any visible formatting changes on the pages I was
testing in any of the browsers I was testing with.

That said, I wasn't testing any highly layed out pages with lots of CSS.
They were simple pages with relatively simple using basic "out of the
box" Jifty elements.  

If the consensus from those-that-know-more-about-HTML-than-I is that I
should put the div's and span's back the way they were I am happy to go
through the patch and back those out.

Sean

-- 
 Sean E. Millichamp, Enertron LLC, 586-757-1200 x102

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.bestpractical.com/pipermail/jifty-devel/attachments/20060622/0a1e4bcc/attachment.pgp


More information about the jifty-devel mailing list