paperlined.org
dev
>
web
>
formats
>
html
>
howto
document updated 15 years ago, on Jan 9, 2009
Goal: Have nested elements that are nestled right up to each other.
<div> inside <div>
hello world
nothing special needed
<td> outside, <div> inside
hello world
<td> must have
padding:0
<div>outside, <img>inside
<div> must have
float:left
(or
display:inline-block
, but that doesn't work in MSIE)