Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

100% isn’t the default value, ‘auto’ is. Which has the effect of appearing 100% in many scenarios. But not all.


Fair, but actually that just means that the border and margin etc are pushed outside the container. In either case the div is operating by taking up the full width of the container.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: