This may seem like a basic question, but it's hard for me to figure out how to set the table width to 100% on a YUI-datatable.
I tried to do
#dtContainer {
width: 100%;
}
#dtContainer table {
width: 100%
}
but none of these approaches work.
To clarify, I'm trying to set the datatable width to 100% when the table is empty and an empty message is displayed.
The generated table is an HTML table; so I thought it should work.
source
share