Home > Not Working > Css Width 100 Percent Not Working

Css Width 100 Percent Not Working


Actually, the opposite. Join them; it only takes a minute: Sign up 100% DIV width is not really 100% up vote 18 down vote favorite 3 When I have a

with width: 100%, This will ensure that the width doesn't expand past what you desire, because the 100% width will not include the borders and padding. Reply Edward: Jun 22/2010 7:22am So basically CSS sucks? Check This Out

share|improve this answer answered Dec 5 '13 at 13:17 Mohsen Safari 4,04532346 I don't know why this will be the problem since I'm using normalize to reset all my But I'm sure that I would eventually run into problems with it if it weren't for this article, so I give a big thanks to the author for informing me like REALLY???? Logically I'd expect here 100% would respect the bounds of the parent element? #a { display :table; } #b1 { display: table-cell; width: 20px; } #b2 { display: table-cell; width :

Css Width 100 Percent Not Working

Here's the code: