jnf555 Posted January 10, 2010 Share Posted January 10, 2010 Hi Can anyone tell me if theres a code to stop padding making my element bigger than the programmed height and widththanksjnf555 Link to comment Share on other sites More sharing options...
Ingolme Posted January 10, 2010 Share Posted January 10, 2010 No, that's how the W3C box model works. Design your box and subtract the padding from the width, then you put the result in your stylesheet as the width instead. Link to comment Share on other sites More sharing options...
jnf555 Posted January 10, 2010 Author Share Posted January 10, 2010 thanksjnf555 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.