Link to home
Start Free TrialLog in
Avatar of dwessell
dwessell

asked on

Centering rows with HTML..

Hi,

In a HTML table, with differing numbers of cells per row, how can you center the cells within the row, that have less cells per row?

Ie...  

x x x
 x x
x x x

The rows with three cells are just fine of course, but how can I center the cells in the row with two cells only?

Thanks
David
Avatar of Roonaan
Roonaan
Flag of Netherlands image

You can't using a html table for this type of layouting as far as I am aware.
I'm scratching my head if there is a easy solution using div's instead.

-r-
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dwessell
dwessell

ASKER

Setting all rows to 6 cells and the dividing it did the trick.. Good call..

Thanks
David