[drupal-devel] permissions page

Tim Altman web at timaltman.com
Sun Oct 9 21:54:17 UTC 2005


On Sun, 09 Oct 2005 12:07:37 +0200, Dries Buytaert <dries at buytaert.net>  
wrote:

> I wonder why the table headers don't wrap ...

Due to the following rule in drupal.css:

th {
   text-align: left;
   padding-right: 1em;
   border-bottom: 3px solid #ccc;
   white-space: nowrap;
}

Remove the 'white-space: nowrap' and they'll wrap.  That will affect all  
tables, though.  If you want it to affect only this table, add a rule like  
this:

#permissions th {
   white-space: normal;
}

-- 
Tim Altman



More information about the drupal-devel mailing list