aligning two dataTables

Hello

I've two dataTables with each three colums.

My Problem is that the cells in the first dataTable are bigger ( because the size of the output in these three cells are bigger) than the cells in the second dataTable. So the two dataTables

aren't aligned correctly.(first dataTable larger than the second)

What can I do that all cells(first and second dataTable) are under each other?

thanks

[432 byte] By [hamidagaa] at [2007-11-27 3:43:45]
# 1
Apply fixed widths using CSS.
BalusCa at 2007-7-12 8:47:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
yes, I'm about to become acquainted with css. unfortunately it's to much.Can you off the top of your head tell me how i could make it? in case it's not too time consuming.thanks you
hamidagaa at 2007-7-12 8:47:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

At least the table should have a fixed width, you can apply css to h:dataTable styleClass.

Then the columns should also have fixed widths, you can apply css per column to h:dataTable columnClasses.

Here is -straightforward- the CSS :).someStyleWithFixedWidth {

width: 200px;

}

BalusCa at 2007-7-12 8:47:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
ok, as always thanks you!
hamidagaa at 2007-7-12 8:47:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...