Make a div 30px less than the div it is contained in

TEG

New Member
I have a div inside of another div. The outer div has a percentage width (80%), and I want the inner div to have 30px less width than the width of the outer div. How do I do this? I'm assuming I'll need to use javascript?Thanks in advance.
 
Back
Top