Jump to content

Noob Q On Css Box Model


reason808

Recommended Posts

I tried to re-create a simple box model following the w3school's code. It looks wrong. The content box has top and bottom padding while the L & R sides go straight to the border. I've coded the padding to have 0px. I've checked my code, basically w3school's with a few tweaks, and it appears correct. But I'm a noob. Nothing in box model basics tutorials mentions this type of padding display. I don't understand the display behavior and don't know where to change it. I'm running Mac 10.6.8 and firefox 6.0.2. Same display behavior in Safari 5.0.5 Any help appreciated. Source Files attached.

BoxModel.html

post-84897-0-56720200-1319434908_thumb.jpg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...