Good reference site: Position Is Everything
Get margin when no border
Problem: A div seems to have a margin when it doesn’t have a border. Giving it a 1px border and the margin disappears.
Good reference site: Position Is Everything
Problem: A div seems to have a margin when it doesn’t have a border. Giving it a 1px border and the margin disappears.
Other pages possibly of interest:
This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan