Posts Tagged ‘Stylesheet’

CSS … be careful when using wildcard *

Saturday, November 3rd, 2007

I was working on a project today and found that the content in a table I created all squeezed together, even though that I had set “cellspacing=10″. After some investigation I found that in the CSS code, padding and margin of all elements was removed: body * { margin: 0; padding: 0; } I could, [...]