- Code, Content, and Presentation
---- Padding adding extra width. content not staying inside.
- 8:30 pm on Jul 20, 2013
The text shifted over properly, but it actually made the whole element wider by exactly the same number of pixels. What is the issue here?
What they said above.
The fix to keep the box the same size is to put a margin on the text rather than padding the box.
Brought to you by