Arian Hojat wrote: > Hello all, > I asked this question on a few boards but no one knew answer > so i was hoping for better luck here. > > i am a bit stumped by the ALA article on custom borders: > http://alistapart.com/articles/customcorners > > In 'Step 3', these gaps show up and i have no clue why. > > In it they say "The gaps are caused by the carriage returns > inserted by our paragraph (block) elements. We could avoid > using paragraph elements altogether and thereby bypass the > problem, but..." > > what carriage returns (the default top margin from 1st > paragraph?)? > i thought if all margins and padding are set to zero with > block elements that follow each other that nothing else is > needed?
A carriage return is this. Starting on a new line. 5 carriage returns there, no padding, no margin. A p element is block level, so a next element always starts on a new line, even with zero padding and margin. -- Els http://locusmeus.com/ http://locusoptimus.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/