[UPHPU] white space between divs

MilesTogoe miles.togoe at gmail.com
Thu Jun 11 02:06:59 MDT 2009


Velda wrote:
> MilesTogoe wrote:
>> 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 back to all the old issues of using tables to control display.  
> CSS does make tables neater for tabular data though.
Well I was still stuck with the white space junk so I quickly tried out 
using the display tables.  Success.  The old way of tables was messy, 
cumbersome, slower, ....  but it did work as expected - I don't want to 
restart old flame wars but I'm really tired of lots of tweaking, hacks, 
cross browser problems and just lots of non productive time with css 
layouts.  I'll trade some cumbersome for less fragility.

After reading these articles:
http://forabeautifulweb.com/blog/about/are_css_tables_ready_for_prime_time/
http://www.sitepoint.com/books/csswrong1/
http://www.thecssninja.com/xhtml/why-display-table-shouldnt-be-frowned-upon

I tried out a layout with even nested css display stuff - it seems to 
work really nicely, even in Konqueror (although I need web-kit for 
rounded corners).  With display-block and display-inline it's actually 
quite simpler than the old nested table mess though I'm not quite sure 
yet with the use of blocks vs nested table cells. 

So far I'm really sold on CSS2 stuff - not sure if I'll run into other 
issues yet.  But as of now, no white space issue, pretty simple spacing, 
even vertical centered spacing, and plus simple rounded corners (none of 
that complex image, sliding doors ... baloney)

I've read that IE8 apparently supports the CSS display stuff so unless 
you have to support IE 6,7 I suggest trying out the CSS2 stuff. 


More information about the UPHPU mailing list