is there a way to set a div's width to some percentage of it's container, or can the % only be applied to the whole page width ?

Thanks
Quentin