Afficher un message
Vieux 13/04/2008, 18h30   #8
Bergamot
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: css for centering a 'table' in a layout

lawpoop@gmail.com wrote:
> Or, let me ask a more general question: Is an html table an
> appropriate way to align any set of elements of an HTML page that are
> to be in a grid layout?


It depends on what you mean by "grid". A data grid has relationships
between rows and columns, and is tabular. If you're thinking of the
general design principle of grid layouts, that's not tabular. In your
case there was a direct relationship between the radio button and its
corresponding label, as well as the buttons as a group. Granted, it
could have been laid out various ways, but a table is not wrong for
this, IMO.

> Or is there a pure css way to do a grid-style layout? Something where
> you wanted, say, two rows and four columns of some elements, that all
> have the same width and spacing distribution?


There are plenty of CSS templates with varying numbers of columns.

--
Berg
  Réponse avec citation
 
Page generated in 0,05721 seconds with 9 queries