[UPHPU] white space between divs

Wade Preston Shearer wadeshearer.lists at me.com
Wed Jun 10 14:21:26 MDT 2009


On 10 Jun 2009, at 13:47, MilesTogoe wrote:

> @justin
> good point - I discovered there wasn't a doc type - so I put in a  
> doc type with "transitional" - this seemed to improve things but not  
> really get rid of thinner white space.   Which brings up the point,  
> if using with css, jquery, etc - what should doc type be ?   
> transitional vs strict ?  what about with css3 display tables ?

I would go with XHTML transitional or strict or HTML 4 strict. That  
isn't a CSS/jquery issue though. Your spaces shouldn't be happening.  
There is something wrong with the way you have it implemented. Can you  
give us a URL so we can see it? I would bet the farm that it is a  
simple fix.


> @brandon
> I think that is an issue but goes against neat indented coding:
> <div id="whatever">
>   <p>stuff</p> <!-- spaces instead of tabs -->
> </div>

You shouldn't have white space however you have your code. There is a  
white space bug in IE, but that shouldn't case space between divs.


> so I'm thinking of experimenting with the new css display tables -  
> more like the control of the old tables and gets away from messy  
> floats, clears.  And yeah I don't care if IE refuses to support the  
> css standard - we'll just tell our customers they have to use  
> Chrome, Firefox, Safari, Konqueror, Arora, Epiphany, or Opera -  
> "anything but Microsoft" - besides they'll probably get a better,  
> faster, safer browser.  so anyone been using the new css display  
> tables ?  experiences ?

Eeeek. Please, no. Before you toss the baby out with the bath water,  
give us an example of what you're trying to do.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2431 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20090610/be70f0b2/smime-0001.bin


More information about the UPHPU mailing list