Arc Forumnew | comments | leaders | submitlogin
1 point by akkartik 5085 days ago | link | parent

Yeah I concluded a while ago that tables have many advantages. They're an easier programming model than the CSS box model. Now I try to minimize the use of margin, padding and float in my CSS.

The major drawback of tables is that they're much more verbose -- a drawback that's mitigated by generating them automatically like in html.arc



1 point by evanrmurphy 5085 days ago | link

> Now I try to minimize the use of margin, padding and float in my CSS.

Ah, could you elaborate on your technique? I may be missing out on some handy table attributes that you know. The main one I use is colspan - still use CSS padding to adjust most my spacing.

-----

1 point by akkartik 5084 days ago | link

Not at all. I meant that if I find myself using more than the absolute simplest combinations of margin/padding/float, I consider using a table instead.

Readwarp may help triangulate on what I mean. The layout right now is simple enough that I just went with CSS. But if you inspect the logo with firebug, I didn't bother making things perfect with CSS. I just used tables.

-----