Very very simple problem, demo here -
http://www.c9.co.za/files/divtest.htm
I tried a search here - found nothing. I see that www.urbantoys.ca has the same problem.
Many thanks for any help!
| SitePoint Sponsor |
Very very simple problem, demo here -
http://www.c9.co.za/files/divtest.htm
I tried a search here - found nothing. I see that www.urbantoys.ca has the same problem.
Many thanks for any help!



hmmm... it's probably you <p>...</p> that's adding that space
try adding this to your css
HTML Code:p { margin-bottom: 0; padding-bottom: 0; }
Ah, beautiful! Thank you!
all html tags that are normally display: block inherently (i believe everything but <li>, <a>, <span>) have browser-applied margin and padding; Moz and IE add different specs. adding
fixes that right away.HTML Code:html * {margin: 0; padding: 0;}
Thanks! CSS beginning to look like a good idea .. From many sites it is clear that designers don't know about this point.
Bookmarks