View Single Post
  #1 (permalink)  
Old March 30th, 2005, 11:07 AM
czambran czambran is offline
Friend of Wrox
 
Join Date: Jun 2004
Location: Fairfield, Iowa, USA.
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Default Another question on Chapter10

If u use the code given for the example on page 274 and apply a border on the body element, on Firefox you will see that that the p element goes out of the body element boundaries. How can this be? When u use:
width: 100%

Isn't that suppose to make the contained element(p element on this case) as big as the containing element(body) but not larger??

Also the margin seems to be applied on the left side of the p element but not on the right side(The right side is flushed against the border of the window).

on IE it works just fine.

Thanks.

Christian
__________________
Christian