div displaying a margin
i am trying to make a game board using
divs with different
background-colors so i wrote some simple css (i am just figuring out how to do it at this stage, and i wrote the
divs in manually - so im not including the html/js)
when i rendered it, and there was a margin. like so:
so i checked firebug and it shows
i am being led to feel i am missing some extremely basic css knowledge here.
It is because there are
Either remove the white space in your markup, add a negative margin, or using float elements as opposed to
Probably the best solution.