[thelist] setting a small size for a div or span
James Aylard
evolt at pixelwright.com
Fri Jun 7 11:38:08 CDT 2002
Tom,
> There seems to be a limit to the size you can set a DIV or SPAN. I want to
set one to about 12 x
> 8, but it seems like once I get to around 10 or 12, it won't go any
smaller. Is this simply the
> limit of how small you can set the element? Or is there some
padding/border issues that I have to
> set to make it smaller?
What browser/platform are we talking about (often makes a difference
when discussing CSS)? For IE/Win32, the browser seems to require that the
div contain some content (either a non-breaking space -- -- or a
single-pixel transparent gif, for instance), and that line-height also be
set explicitly, to the desired height or smaller.
James Aylard
More information about the thelist
mailing list