View Single Post
Old 10-30-2007, 03:51 PM   #85
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,449
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use tables with % specification of widths. That takes care of screen size independence. If you must use CSS use hanging indents to accomplish this. See the demo file in the html2lrf thread. Though the tables based solution is actually more robust against font size changes.

Having a multi-column layout is what tables are supposed to do.

EDIT: Using tables for layout is not considered poor practice when you're trying to create a multi column layout. Indeed they are the best way to create a multi column layout.

Last edited by kovidgoyal; 10-30-2007 at 04:13 PM.
kovidgoyal is offline   Reply With Quote