On 21 Dec 2004, at 9:11 PM, Javier Leyba wrote:

How could I set table width to be a 90% of div width size ?

If I set a <table width="90%" it takes a 90% of whole page instead of
div...

How about

div#whatever table { margin: 0 10% ;}

But beware... some browsers (IE5Mac comes to mind) need the longhand version

div#whatever table {
        margin-top: 0 ;
        margin-right: 10% ;
        margin-bottom: 0 ;
        margin-left: 10% ;
        }

HTH
N
___________________________
Omnivision. Websight.
http://www.omnivision.com.au/

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to